Re: New to Django, Question about Admin Page

2012-08-31 Thread maha


>
>uncomment  the admin url: url(r'^admin/', include(admin.site.urls)), 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/1vTsmbJ_k-YJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



New to Django, Question about Admin Page

2012-08-13 Thread Daniel Roseman
You haven't uncommented the admin URL itself - the second to last line of the 
code you posted.
-- 
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/MhVkawQb9PIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: New to Django, Question about Admin Page

2012-08-13 Thread Melvyn Sopacua
On 14-8-2012 0:15, judy ngai wrote:

> Here at the urls.py, the three lines are also uncommented

But this one is not:
> # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

and should be.
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



New to Django, Question about Admin Page

2012-08-13 Thread judy ngai
I apologize if I ended up sending this twice. I hit submit when google
logged me out.

I am new to django. Right now I am going through the tutorial. I am
stuck on the creating admin page section.

Here are the settings.py , you can see that the admin and the
admindocs are uncommented.

INSTALLED_APPS = (
'django.contrib.auth', #an authentication system
'django.contrib.contenttypes', #framework for content types
'django.contrib.sessions', #a session framework
'django.contrib.messages', #a messaging framework
'django.contrib.staticfiles', #framework for managing static files
# Uncomment the next line to enable the admin:
 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
 'django.contrib.admindocs',
'budget'
)

Here at the urls.py, the three lines are also uncommented

from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()


urlpatterns = patterns('',
# Examples:
# url(r'^$', 'budgetmanager.views.home', name='home'),
# url(r'^budgetmanager/', include('budgetmanager.foo.urls')),

# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

# Uncomment the next line to enable the admin:
# url(r'^admin/', include(admin.site.urls)),
)

The django page is up and running when I start the server. However no
matter how much I try
/admin or /admin/ or /admin/auth, the page just won't go to the admin
page and gets stuck on the django welcome page instead

Can anyone help me out? Do you need to show you guys any other code?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.