Re: [Django] #22832: admin.autodiscover() missing

2014-06-13 Thread Django
#22832: admin.autodiscover() missing
---+--
 Reporter:  Matej  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by valberg):

 Due to the new app loading mechanism introduced in 1.7, django will do the
 autodiscover automatically.

 See https://docs.djangoproject.com/en/1.7/ref/applications/ for more about
 the app loading process.

 And the release notes https://docs.djangoproject.com/en/1.7/releases/1.7
 /#app-loading-refactor for information on what effects this new mechanism
 has.

-- 
Ticket URL: 
Django 
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/063.28177ac9b5be86f618b94445444e43ec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22832: admin.autodiscover() missing

2014-06-13 Thread Django
#22832: admin.autodiscover() missing
---+--
 Reporter:  Matej  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.6
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timo):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 Please ​https://docs.djangoproject.com/en/1.6/ref/contrib/gis/tutorial/ if
 you are using Django 1.6. That line is no longer necessary in Django 1.7+.

-- 
Ticket URL: 
Django 
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/063.cb0da4bd3a53e28e7d37f8b9c1762401%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #22832: admin.autodiscover() missing

2014-06-13 Thread Django
#22832: admin.autodiscover() missing
---+
 Reporter:  Matej  |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Documentation  |Version:  1.6
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 Hi,
 in the geoDjango tutorial:
 https://docs.djangoproject.com/en/dev/ref/contrib/gis/tutorial/
 close to the bottom of the page there is this block of code:

 from django.conf.urls import url, include
 from django.contrib.gis import admin

 urlpatterns = [
 url(r'^admin/', include(admin.site.urls)),
 ]

 that should have also included the following line:
 admin.autodiscover()

 otherwise, the admin page says: you don't have permission to edit
 anything.

 Matej

-- 
Ticket URL: 
Django 
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/048.85db752716a5276799e403cf3936208a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.