Wednesday, January 2, 2013

Re: Question about URL namespaces

So what does instance actually mean here?  Does it just mean another copy of the app directory with a different directory name?

在 2012年12月30日星期日UTC+8上午3时06分03秒,Ryan Blunden写道:
I've never used this feature but I believe it was created so that for a single Django project, you could provide multiple administration apps. For example, you might have one for customers and one for back office staff that expose different models, have different permissions etc.

So to answer your question about what "application" means in this context, it means a Django application (e.g. django.contrib.admin).

Cheers,
Ryan

On 29/12/2012, at 4:44 AM, "Dae James" <daed...@126.com> wrote:

When I was reading django's URL document, I come across "URL namespaces".
The raw sentence is "When you need to deploy multiple instances of a single application, it can be helpful to be able to differentiate between instances."
I'm very confused here. What the application here refer to? Does it mean  models ? Or something else I don't know?
Thank you~~
 

Dae James

-- 
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/UElaFuMkhv0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment