thanks

On Tue, Aug 10, 2010 at 8:04 PM, Karen Tracey <kmtra...@gmail.com> wrote:

> On Mon, Aug 9, 2010 at 1:49 AM, yangmin...@gmail.com <yangmin...@gmail.com
> > wrote:
>
>> Hi All,
>>    When I was reading django document, I also viewed the source code
>> of the framework to help me understand,
>>    but I found one inconsistent place about urls attribute of
>> Django's AdminSite object.
>>
>>    # in djangoproject document,
>> http://docs.djangoproject.com/en/dev/topics/http/urls/:
>>     ** This will include the nominated URL patterns into the given
>> application and instance namespace. For example, the urls attribute of
>> Django's AdminSite object returns a 3-tuple that contains all the
>> patterns in an admin site, plus the name of the admin instance, and
>> the application namespace admin.
>>    # in source code:  /django/contrib/admin/options.py
>>
> [code snipped]
>
> Note options.py is defining the urls method for a ModelAdmin object.
>
> The urls method for an AdminSite is in sites.py:
>
>
> http://code.djangoproject.com/browser/django/tags/releases/1.2.1/django/contrib/admin/sites.py#L242
>
> Karen
> --
> http://tracey.org/kmt/
>
>  --
> 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