On Thu, Aug 21, 2008 at 4:51 AM, Will Rocisky <[EMAIL PROTECTED]> wrote:
> Is it possible (like Rails) to not to enter every method and it's url
> everytime? And url should go to the method straight unless defined.

No.

1. Python's general philosophy is that it's best to explicitly say
what you want, rather than have magical implicit things happening
behind the scenes (and generally explicit is much easier to debug).
2. Auto-routing URLs takes away your ability to control what you
expose of your application. This can create situations ranging from
annoying URLs that you'd rather not have people see, all the way up to
full-blown oh-hai-i-haxed-ur-site security holes.
3. Auto-routing only works if you're following an extremely narrow
interpretation of web development patterns, namely "strict" MVC with a
controller_name/view_name/object_id layout, and there are problems
both with that narrow interpretation and with the conventions it
foists upon you (which this margin is too short to contain).


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to