#11642: Specify default namespace in urls.py -------------------------------------+------------------------------------- Reporter: mrmachine | Owner: abki Type: New feature | Status: new Component: Core (URLs) | Version: 1.1 Severity: Normal | Resolution: Keywords: url namespace | Triage Stage: Accepted default | Has patch: 0 | Needs documentation: 1 Needs tests: 1 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by apollo13): I think the patch from mrmachine is sensible. In a nutshell: specifying `app_name` on the url module should set the default `app_name` and `namespace` and everything in `include()` should override this default. -- Ticket URL: <https://code.djangoproject.com/ticket/11642#comment:11> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.28753408fe8a883f6ba45efabe7f4df7%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.