On Friday, December 28, 2012 9:29:50 AM UTC+1, Shahjalal Hossain wrote: > > > <https://lh3.googleusercontent.com/-qn9rZBxBwFA/UN1XgO_hZQI/AAAAAAAABgw/JYDPIYJu0AI/s1600/Screen+Shot+2012-12-28+at+9.22.41+AM.png> > > > <https://lh4.googleusercontent.com/-9afA4LuyPJ4/UN1XT4M7JoI/AAAAAAAABgo/72aL0kA4on8/s1600/Screen+Shot+2012-12-28+at+9.22.08+AM.png> > > > <https://lh3.googleusercontent.com/-_wGPJVCUP_M/UN1XMcwwC2I/AAAAAAAABgg/xrbg2ebOXO8/s1600/Screen+Shot+2012-12-28+at+9.21.39+AM.png> > > Hi, I am new at Django. I am learning Django from instruction manual "a > basic poll application". I was doing step by step. But, at a certain point > I stacked. > > It does not shows admin page as "2.4 Writing your first Django app, part > 2". I have done all the steps, like uncomment settings.py and urls.py and > run the syncdb. I am writing on code on Aptana Studio 3. For convenient, I > have given some images. and source files. > > Thanks, in advance. > > *settings.py* > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.messages', > 'django.contrib.staticfiles', > # Uncomment the next line to enable the admin: > 'django.contrib.admin', > # Uncomment the next line to enable admin documentation: > # 'django.contrib.admindocs', > 'polls', > ) > > *urls.py* > > from django.conf.urls import patterns, include, url > > # Uncomment the next two lines to enable the admin: > from django.contrib import admin > admin.autodiscover() > > urlpatterns = patterns('', > # Examples: > # url(r'^$', 'mysite.views.home', name='home'), > # url(r'^mysite/', include('mysite.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)), > ) > > > >
-- 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/-/mW2jgtuPr_gJ. 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.