On Jun 4, 5:06 am, HARRY POTTRER <cp368...@ohio.edu> wrote: > I'm writing a forum app that I want to be reusable. All of my urls I > have named. Some of them are named like "index" and "thread" which are > generic and will likely collide with existing project's urls. I don't > want to do something like name all my urls "forum_index" and > "forum_thread" either. > > I think the best way is to use the new namespace feature, but I'm not > quite sure how to do it for reusuable apps. The docs make it seem like > the only purpose of namespace urls is when you have two or more > instances of an app.
You don't need to do anything with it. You don't define the namespace in the application's urlconf, the end developer does it when they include your application's urlconf in their project-level one. See the docs on defining namespaces: http://docs.djangoproject.com/en/1.2/topics/http/urls/#defining-url-namespaces -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.