Not sure what you mean?  You mean something that looks through the code and 
generates/expands urls for the view methods it finds?

I don't see the point of that exactly.  The dynamic dispatch I'm doing does the 
same thing and I prefer dynamic dispatch to code generation (I abhor code 
generation).  

I do have one additional little complaint about url handling and application 
integration in general.

settings.py has a list of applications to include (INSTALLED_APPS).  Fine.  But 
then, in urls.py I have to repeat myself by importing each application's 
urls.py to add them.      (r'^admin/', include(admin.urls)),

And then I have to fiddle the template path so the templates in the application 
are found or create a symbolic link from my templates root folder to the 
templates folder in the app.

So enabling an application takes two or three steps, rather than one.  Not DRY 
at all.   Just adding an app to INSTALLED_APPS should make all this other stuff 
just happen.

-Todd Blanchard

On Dec 3, 2009, at 9:40 AM, Javier Guerra wrote:

> have you considered writing a url pattern generator? if it's handy
> enough, it would become quite popular...

--

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