Well, as this is implemented you have to know your namespaces during development. But now i see what's your problem.
I'm not sure, but i don't think it is encouraged to have multiple instances of the same app in one project. I think the sites <https://docs.djangoproject.com/en/1.9/ref/contrib/sites/>contrib app or some other method of having this author/publisher distinction within the same app would better suit your needs. On Monday, December 7, 2015 at 6:45:03 PM UTC-2, Jon Ribbens wrote: > > 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/acda4e18-6053-4a8a-94b0-161d7f69c45d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.