#32950: Remove "myproject" from imports in docs
-------------------------------+------------------------------------
     Reporter:  Ken Whitesell  |                    Owner:  Abhyudai
         Type:  Bug            |                   Status:  assigned
    Component:  Documentation  |                  Version:  3.2
     Severity:  Normal         |               Resolution:
     Keywords:  ModelAdmin     |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by Abhyudai):

 Replying to [comment:1 Tim Graham]:
 > Yes, I think that should be adjusted. A complete audit:
 > {{{
 > docs/ref/contrib/syndication.txt:    from myproject.feeds import
 LatestEntriesFeed
 > docs/ref/contrib/syndication.txt:    from myproject.feeds import
 AtomSiteNewsFeed, RssSiteNewsFeed
 > }}}

 I think these are appropriate, since the documentation here talks about
 adding feeds. Changing this to something like `from feeds import
 LatestEntriesFeed` could likely be more confusing, in my opinion.
 >{{{
 > docs/ref/contrib/admin/index.txt:        from myproject.admin_site
 import custom_admin_site
 > docs/ref/contrib/admin/index.txt:    from myproject.admin import
 advanced_site, basic_site
 >}}}
 Here, the documentation refers to using custom `admin` site for different
 purposes, and these shouldn't necessarily be fit into an `app`. I think it
 would be appropriate to keep this in its original form.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32950#comment:3>
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/070.89588459e70b071763796e54459269d6%40djangoproject.com.

Reply via email to