-
Notifications
You must be signed in to change notification settings - Fork 279
Design Document
Jayesh Lahori edited this page Aug 13, 2014
·
14 revisions
I have Django Project called VMS
and AdminUnit
as an app inside VMS
.
Following are the file's inside AdminUnit app.
- models.py - Contains all tables associated with the app
- forms.py - Contains forms which have been used throughout to enter data into the system. Some of them inherit the ModelForm class of Django which helps directly create a form from Django Models, Other's inherit forms.Form class
- admin.py - Contains views to be shown in admin
- tests.py - Contains unit-tests to test the model structures and Client tests to test the views.
- urls.py - Contains mapping of url's to view methods
- views.py - Contains methods for displaying views