Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug à l'ajout de source RSS #45

Open
domguard opened this issue Dec 24, 2011 · 0 comments
Open

bug à l'ajout de source RSS #45

domguard opened this issue Dec 24, 2011 · 0 comments
Assignees
Labels

Comments

@domguard
Copy link
Member

ça le fait sur mon installation, mais ça ne le fait pas sur le serveur de démo (?)
je n'ai aucune source RSS et quand je veux ajouter la première ça donne :

TemplateSyntaxError at /admin/rss_sync/rssitem/add/

Caught TypeError while rendering: int() argument must be a string or a number, not 'NoneType'

Request Method: GET
Request URL: http://localhost:8000/admin/rss_sync/rssitem/add/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value:

Caught TypeError while rendering: int() argument must be a string or a number, not 'NoneType'

Exception Location: /home/vagrant/projects/devcoop/rss_sync/widgets.py in render, line 50

et l'extrait de code est :

    def render(self, name, value, attrs=None):
        widget = super(AdminCreateArticleWidget, self).render(name, value, attrs)
        html = unicode(widget)

        html += unicode(value)

        url = reverse('rss_sync_create_cms_article', args=[int(value)])  #<----- cette ligne-là
@ghost ghost assigned ljean Jul 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants