This forum is no longer active. Please post your questions to our new community site

What I need to do for using admin features?

Subscribe to What I need to do for using admin features? 3 post(s), 2 voice(s)

 
Avatar Fabio Morbec 2 post(s)

Hello guys !
I am trying to configure settings.py and urls.py for using the admin features but I can’t use admin. I don’t know why … I appreciate some help!

my settings.py has this line in INSTALLED_APPS
‘django.contrib.admin’,

and the urls.py
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns(’’,

  1. Example:
  2. (r’^trabAuditoria/‘, include(’trabAuditoria.foo.urls’)),
  1. Uncomment the admin/doc line below and add ‘django.contrib.admindocs’
  2. to INSTALLED_APPS to enable admin documentation:
  3. (r’^admin/doc/‘, include(’django.contrib.admindocs.urls’)),
  1. Uncomment the next line to enable the admin:
    (r’^admin/(.*)’, admin.site.root),
    )
 
Avatar Fabio Morbec 2 post(s)

Ok, I found an away to solve this problem:

The link is http://imasters.uol.com.br/artigo/10729

It is in portuguese.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Thanks for posting the solution. This will help to other bitnami users.

Cheers.