first app

2010-08-04 Thread yalda.nasirian
Hi dear friends finally , i finish my first app tutorials of djangoproject.com . i want to share this whith u , i wish it'll be helpfull . note to change dir template in setting,py . http://www.4shared.com/file/23TzJzLt/mysite.html -- You received this message because you are subscribed to the

error 404

2010-08-03 Thread yalda.nasirian
hi i don't know why i cant see generic view , please help me . i have this error Page not found (404) Request Method: GET Request URL:http://127.0.0.1:8000/ Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: 1. ^polls/$ 2.

generic view error help

2010-08-03 Thread yalda.nasirian
hi every body i did all of steps of djangoproject.com but in last step when i want to see my generic view i have error this is my project link : http://www.4shared.com/file/fOrKUIyM/mysite.html please help me but don't forget to change template dir in your system . tanx -- You received this

urlpattern problem !

2010-08-02 Thread yalda.nasirian
i have an another problem my urlpattern is : from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^admin/', include('django.contrib.admin.urls')), ) even i try with this code again from django.conf.urls.defaults import * # Uncomment the next two lines to enable the

drop table books_book

2010-08-02 Thread yalda.nasirian
hi when i run this command : DROP TABLE books_book; ^ in shell i have error SyntaxError: invalid syntax $ python manage.py validate 0 errors found $ python manage.py validate 0 errors found $ python manage.py sqlall books BEGIN;

os.path

2010-08-01 Thread yalda.nasirian
hi note If you want to be a bit more flexible and decoupled, though, you can take advantage of the fact that Django settings files are just Python code by constructing the contents of TEMPLATE_DIRS dynamically, for example: import os.path TEMPLATE_DIRS = (

where is my os.path

2010-08-01 Thread yalda.nasirian
hi when i type import sys or os i have error that unknown os -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

error 500 & 404 / date time isnot defined

2010-07-27 Thread yalda.nasirian
hi ,please help me , i realy dont know what can i do for this error i cant see my web page . another question : i have datetime error (i import date time in shell but this error exist ) tanx please help ! error Page not found We're sorry, but the requested page could not be found. [27/Jul/2010

404.html error

2010-07-25 Thread yalda.nasirian
hi i'm new at django code . i have a problem with 404.html page . i can't see mypage http://127.0.0.1:8000/admin/ , i see error can you guide me ? and i have another question , where i write this command : handler404 = 'mysite.views.my_custom_404_view' and another question before this error , i