Thursday, June 27, 2013

Re: Dynamic constructions of URLs in Django

I suspect that this just means that you can add or not add url patterns, and adjust the contents of the regular expression or other members of the url pattern object, based upon information AVAILABLE AT IMPORT TIME, such as settings.DEBUG, settings.INSTALLED_APPS, socket.gethostname(), etc.


On Thu, Jun 27, 2013 at 9:39 AM, Nafiul Islam <gamesbrainiac@gmail.com> wrote:
Hi, I was reading the docs here : https://docs.djangoproject.com/en/dev/topics/http/urls

In overview, it says that you because the URLConf is written in Python it can be dynamically constructed. What does that mean, and what does it imply for a developer like myself?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment