fusionbox/django-fusionbox — pull request #8 by chroto (2011-12-10 00:15:45+00:00)
Title: Refactors for Contact App + A base class for future Fusionbox Django Apps

I've seen this pattern for building django apps before and I am a fan. Thought I would refactor aaron's contact app as an opportunity to discuss moving forward with this method on future fusionbox reusable apps

I like it cause it makes extending apps easy as opposed to what I tend to see with other Django apps around which try to do too much and make too many assumptions or load themselves with too many settings.

The `views.py` and urls conf are merged into one file. the url conf is housed within a method that can be extended with `super()` or rewritten. Since the url patterns are moved to the same class as the views, views are called by self.view_name and are all methods of the Application class.

methods in the `FusionboxApp` base class are useful for setting namespaces for apps. Class properties are in place to determine models and form classes while the views themselves don't have to be rewritten.

What do you guys think? good idea or bad idea?