Re: drop table books_book

2010-08-02 Thread yalda nasirian
yes , i did all of these . i realy confused . can u send me template of url pattern ? tanx On Mon, Aug 2, 2010 at 3:36 PM, Sameer Rahmani wrote: > yeah , if you are iranian it's good to check out #django-ir IRC > channel in freenode server > > but about your problem > > did you put your app nam

Re: drop table books_book

2010-08-02 Thread Sameer Rahmani
yeah , if you are iranian it's good to check out #django-ir IRC channel in freenode server but about your problem did you put your app name into INSTALLED_APPS in settings.py? did you create admin.py for your apps ? -- You received this message because you are subscribed to the Google Groups

Re: drop table books_book

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

Re: drop table books_book

2010-08-02 Thread Sameer Rahmani
np ;) -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this grou

Re: drop table books_book

2010-08-02 Thread yalda nasirian
thank you so much sameer ! it works for me . On Mon, Aug 2, 2010 at 3:18 PM, yalda nasirian wrote: > tanx kenneth ! but when i run drop command i have syntax error , but i'm > sure i write command correctly . > > > > On Mon, Aug 2, 2010 at 3:14 PM, Kenneth Gonsalves wrote: > >> On Monday, August

Re: drop table books_book

2010-08-02 Thread yalda nasirian
tanx kenneth ! but when i run drop command i have syntax error , but i'm sure i write command correctly . On Mon, Aug 2, 2010 at 3:14 PM, Kenneth Gonsalves wrote: > On Monday, August 02, 2010 04:05:16 pm yalda.nasirian wrote: > > CREATE INDEX "books_book_22dd9c39" ON "books_book" ("publisher_i

Re: drop table books_book

2010-08-02 Thread Sameer Rahmani
if you want to drop a table in your database you should run the DROP command in your database engine console not directly in linux shell for example : (mysql) $ mysql -u root -p password: > use DBNAME; > DROP TABLE books_book; -- You received this message because you are subscribed

Re: drop table books_book

2010-08-02 Thread Kenneth Gonsalves
On Monday, August 02, 2010 04:05:16 pm yalda.nasirian wrote: > CREATE INDEX "books_book_22dd9c39" ON "books_book" ("publisher_id"); > COMMIT; > $ python manage.py syncdb > Creating table books_publisher > Creating table books_author > Creating table books_book_authors > Creating table books_book >

Re: drop table books_book

2010-08-02 Thread yalda nasirian
in my shell On Mon, Aug 2, 2010 at 3:10 PM, Sameer Rahmani wrote: > where did you run that DROP command ? > > -- > 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 unsubscr

Re: drop table books_book

2010-08-02 Thread Sameer Rahmani
where did you run that DROP command ? -- 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 django-users+unsubscr...@googlegroups.com. F

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