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
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
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:
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
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
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
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
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
>
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
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
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
11 matches
Mail list logo