#33774: Where/how is the `application namespace` defined?
-------------------------------------+-------------------------------------
               Reporter:  Michael    |          Owner:  nobody
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:             |        Version:  4.0
  Documentation                      |       Keywords:  application
               Severity:  Normal     |  namespace
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Firstly the documentation is excellant, thank you. The generous usage of
 examples really makes the documentation much easier to understand.

 A weak point (IMHO) in the documentation is, the links to explain what an
 `application namespace` is link to:
 https://docs.djangoproject.com/en/4.0/topics/http/urls/#term-application-
 namespace

 Which states:

 > This describes the name of the application that is being deployed. Every
 instance of a single application will have the same application namespace.
 For example, Django’s admin application has the somewhat predictable
 application namespace of 'admin'.

 So reading this sentance, all I know is that there is this mythical
 creature called a `application namespace` lurking in my codebase
 somewhere. Does he live in an `apps.py` `AppConfig.name` or
 `AppConfig.label`, somewhere else ? Admin has the `application namespace`
 of `admin`. How was it defined, where was it defined? How do I get the
 `application namesspace` for another app?

 To be honest I have learnt much more than what I could deduce from the
 name `application namespace`. Maybe I am missing the obvious here. This
 issue has tripped me up for years, I just try various strings until it
 works.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33774>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701814825a0f6-b7f8ec18-7bd7-42bb-8245-69675989e983-000000%40eu-central-1.amazonses.com.

Reply via email to