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:
*from django.contrib import admin*
*admin.autodiscover()*

urlpatterns = patterns('',
    # Example:
    # (r'^mysite/', include('mysite.foo.urls')),

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

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

but when i login in my admin page i cant see all of my objects like this
http://www.djangobook.com/en/1.0/chapter06/
i just have groups , users , sites .
can you help me ?

On Mon, Aug 2, 2010 at 3:19 PM, yalda nasirian <yalda.nasir...@gmail.com>wrote:

> thank you so much sameer ! it works for me .
>
>
> On Mon, Aug 2, 2010 at 3:18 PM, yalda nasirian 
> <yalda.nasir...@gmail.com>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 <law...@au-kbc.org>wrote:
>>
>>> 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
>>> > Installing index for books.Book_authors model
>>> > Installing index for books.Book model
>>> > No fixtures found.
>>> >
>>> > what is my wrong ?
>>>
>>> I do not see anything wrong.
>>> --
>>> Regards
>>> Kenneth Gonsalves
>>> Senior Associate
>>> NRC-FOSS at AU-KBC
>>>
>>> --
>>> 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<django-users%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>>
>>
>

-- 
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 group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to