On Sat, Jul 21, 2012 at 4:41 AM, Jonathan Lundell <[email protected]> wrote:
> On 20 Jul 2012, at 11:38 AM, Alec Taylor wrote:
>>
>> I've got a system with users, groups and group-events.
>>
>> Preferably I would like the following routing schemes:
>>
>> localhost/groupSLUGhere/
controllers/groups.py
>> localhost/groupSLUGhere/eventIDhere
controllers/events.py
>> localhost/profile/usernameHere
controllers/profile.py
> Where do you want these URLs to route (in terms of controller/function)?
Thanks for asking, please see above for inline reference.
>>
>> How would I go about setting this up?
>>
>> Currently the system is very fiddly, even for doing simple
>> redirects... e.g.: I need to use `URL("", "groups")` rather than
>> `URL("groups")`.
>>
>> Thanks for all suggestions,
>>
>> Alec Taylor
>>
>> FYI: I'll be open-sourcing this system following August 2
>
>
> --
>
>
>
--