Is there a way to automatically assign URLs based on view names?

2013-07-06 Thread R. Eastbourne
I would like all my URLs to follow this schema: appname/ClassBasedViewName. 
I don't want to have to update urls.py every time I change my views, so I 
would like these URLs assigned automatically. Is there an existing module 
that is capable of doing this? (Otherwise I will write my own, using 
os.path to get the app name and Class.__name__ to get the view name, but 
there are a couple of potentially tricky pieces of code I may have to 
write.)

-- 
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+unsubscr...@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.




Looking for projects that make Django accessible to novice programmers

2013-09-29 Thread R. Eastbourne
I'm developing an open-source toolset for Django that makes it easier to 
develop a particular type of website. 

I would like for it to be accessible to people who have some understanding 
of web development but don't necessarily have the capability or time to 
develop a complex site from scratch.

So, I am working at simplifying everything I possibly can for this domain, 
e.g. by providing:

- Models to inherit from
- Class-based views to inherit from
- Form classes to inherit from
- HTML templates to inherit from
- Custom project & app templates
- Autogenerated urls.py
- etc

Does anyone know of other projects that do something like this for a 
particular category of website? It would be nice to compare and I might get 
some ideas.

-- 
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+unsubscr...@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.