On Monday, 7 December 2015 20:09:34 UTC, Caique Reinhold wrote:
>
> You use the app namespace which you defined in the site for each app, not 
> the app_name. That's what pa xapy meant.
>
> In the example you gave it would be like: reverse('author-polls:view', 
> self.id).
>

But (a) the app cannot know that I might make an instance of it called 
'author-polls' (I might after all make an instance of it called anything at 
all) and (b) what if this is not the 'author-polls' instance?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b91b904-8435-47ae-baa2-253926694962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to