Thursday, September 30, 2010

what describes an url?

Hi there!

I have a question about the urls.
What set of attributes of RegexURLPattern makes a "primary key" of all
the url patterns among applications in a Django project? (notice the
"" signs)

what i mean is: what is the minimal set of attributes of
RegexURLPattern that is sufficient to unambiguously describe all
urlpatterns in a Django project.

what im trying to make is an app that can show MyModel object on a
PAGE of other models/apps e.g on /page/A/. and i would like to
associate those two in an unobtrusive way. so i thought i can store in
MyModel some attributes of an url object so that i can resolve '/page/
A/' get some RegexURLPattern attributes and then search for an
appropriate MyModel object.

Is this even clear :/ ?

Regards

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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