#8713: Django core depends on django.contrib
---------------------------------------------------------------+------------
          Reporter:  Piotr Lewandowski <[EMAIL PROTECTED]>  |         Owner:  
nobody
            Status:  new                                       |     Milestone: 
       
         Component:  Uncategorized                             |       Version: 
 SVN   
        Resolution:                                            |      Keywords: 
       
             Stage:  Unreviewed                                |     Has_patch: 
 0     
        Needs_docs:  0                                         |   Needs_tests: 
 0     
Needs_better_patch:  0                                         |  
---------------------------------------------------------------+------------
Comment (by Piotr Lewandowski <[EMAIL PROTECTED]>):

 Replying to [comment:2 ubernostrum]:
 > I suspect many of these are not what you think they are, or involve
 optional features of core functionality (e.g., generic views use auth for
 optional "login required" functionality).
 Why generic views should even know anything about auth-related stuff?
 After all, we have `login_required` decorator in
 `django.contrib.auth.decorators` which should handle it. Now this same job
 is done by two distinct pieces of code - looks like
 [http://docs.djangoproject.com/en/dev/misc/design-philosophies/#don-t
 -repeat-yourself-dry DRY violation] to me.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8713#comment:3>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to