Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated TODO's for next stage

  • Loading branch information...
commit 128a5ce95bb783fcdbbb24b7b21e534b4af81815 1 parent 9e8276e
@LBiNationalTrust LBiNationalTrust authored
View
2  Mojo/Forms/MojoFormHelper.py
@@ -109,3 +109,5 @@ def gettext(self, message):
def ngettext(self, message, plural_message, count):
return self.locale.translate(message, plural_message, count)
+
+#TODO: Create a model-to-form generator function, this will be the basis of an Admin app.
View
13 Mojo/ObjectMapper/todo.txt
@@ -1,13 +0,0 @@
-Model:
-- On creation, needs to:
- - re-create all attributes as objects of type base_type
- - keep a dict of _data, keyed as follows:
- {attr_name: attr_field_class_deep_copy}
- - On value access of model attribute:
- - Returns base type (so all methods exposed)
- - On assignment:
- - Ovverride just as it does now, assigning value to:
- 1. field_class (for validation)
- 2. real attribute (for regular access)
- - On Save:
- - Validate model field types
View
15 Mojo/todo.txt
@@ -0,0 +1,15 @@
+Forms:
+- Model-to-form generator
+
+Admin:
+- Setting for sync backend to use
+- Interrogates apps
+ -For apps, generates lists for models
+ - For models: Generates list of objects
+ - For objects: Generates form for CRUD
+
+Setup:
+- User generator (if using admin) to create super user.
+
+Login Helper:
+- Add qualifier for group checking (maybe just superuser=True) to ensure admin / user separation.
View
3  setup.py
@@ -27,6 +27,7 @@
requires=['Tornado',
'tornadio2',
'pymongo',
- 'bson'],
+ 'bson',
+ 'wtforms'],
)
Please sign in to comment.
Something went wrong with that request. Please try again.