~jcsackett/charmworld/bac-tag-constraints

  • Committer: Rick Harding
  • Author(s): Richard Harding
  • Date: 2012-12-10 11:58:44 UTC
  • mfrom: (72.2.9 split_routes)
  • Revision ID: rick.harding@canonical.com-20121210115844-befyr77xetv7m7nd
Split routes into routes.py; views into a module.

To help make it easier to work without conflicts and find things I split out
the routes into their own routes.py file. This are then pulled in during
main().

I also moved the views into a module and split up the code into related views.
It makes it easier to find and less issue with people working on views
together as there should be fewer conflicts.

Along with this, I moved all the various view helpers into a view/helpers.py
module and updated the views to use them. In the future I'd like to add tests
to these views and helpers. For now, I've ingested some data and walked the UI
throughly to make sure there aren't any issues. Lint is clean as well. Since
we're using config.scan() it also will bomb with any major issues since all of
the view files are imported during the scan.

Since the views are a module, I've updated the imports to the other parts of
charmworld to be explicit.

R=hazmat
CC=
https://codereview.appspot.com/6901051
Filename Latest Rev Last Changed Committer Comment Size
..
charmworld 1 13 years ago kapil.foss at gmail charmworld pyramid starter Diff
docs 33 13 years ago kapil.foss at gmail add install doc Diff
scripts 21 13 years ago Kapil Thangavelu add ctl scripts Diff
.bzrignore 74 12 years ago Rick Harding Split routes into routes.py; views into a module. 234 bytes Diff Download File
AUTHORS.txt 62 12 years ago kapil.foss at gmail add authors, and project link 41 bytes Diff Download File
File bootstrap.py 71.1.2 12 years ago Rick Harding Add missing files 9.8 KB Diff Download File
buildout.cfg 72.1.1 12 years ago Rick Harding Update per review on branch already landed 1.5 KB Diff Download File
CHANGES.txt 1 13 years ago kapil.foss at gmail charmworld pyramid starter 28 bytes Diff Download File
development.ini 66.1.1 12 years ago Rick Harding Inital tweaks getting going 796 bytes Diff Download File
distribute_setup.py 71.1.2 12 years ago Rick Harding Add missing files 15.3 KB Diff Download File
LICENSE.txt 61 12 years ago kapil.foss at gmail add license 33.7 KB Diff Download File
Makefile 71.1.5 12 years ago Rick Harding Garden 2.8 KB Diff Download File
MANIFEST.in 1 13 years ago kapil.foss at gmail charmworld pyramid starter 133 bytes Diff Download File
production.ini 54 12 years ago Kapil Thangavelu exception logging with url, bzr revision check use 1 KB Diff Download File
README.txt 7 13 years ago kapil.foss at gmail work in progress on multi namespace support 252 bytes Diff Download File
setup.cfg 1 13 years ago kapil.foss at gmail charmworld pyramid starter 538 bytes Diff Download File
setup.py 72.1.2 12 years ago Rick Harding Garden deps per review 974 bytes Diff Download File
versions.cfg 72.1.2 12 years ago Rick Harding Garden deps per review 1.1 KB Diff Download File