104_Class_based_views #200
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "104_Class_based_views"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #104
All relevant function based views have been replaced by class based views. There still are some function based views, since a replacement with class based ones would not reduce the code size in these cases.
* splits compensation/forms.py and /modalForms.py into individual files inside new packages * general forms stay in new files in compensation/forms * modal forms stay in new files in compensation/forms/modals* refactors intervention/forms and ../modalForms into individual files in separated packages * forms.py has been renamed into intervention.py, now can be found as intervention/forms/intervention.py * modalForms.py has been split into individual files living in modals package, can be found as intervention/forms/modals/...* refactors user/forms.py by splitting into modals package and regular forms * regular forms can now be found at user/forms/user.py and user/forms/team.py * modal forms can now be found at user/forms/modals/...* refactors konova/autocompletes.py by splitting into individual files and moving them to fitting apps * autocomplete files now live in APPNAME/autocomplete/...* splits intervention/views.py (+700 lines) into separate files in new module * view files can now be found in /intervention/views/...* splits ema/views.py (+700 lines) into separate files in new module * view files can now be found in /ema/views/...* splits compensation/views/compensation.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/compensation/...* splits compensation/views/eco_account.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/eco_account/...* splits konova/views.py into separate files in new module * view files can now be found in /konova/views/... * introduces first class based view AbstractLogView * implemented for Ema, Intervention, Compensation and EcoAccount* adds AbstractResubmissionView to konova app * implemented for all major data types * replaces function based views* adds AbstractRecordView to konova/views/record.py * implements for all major data types* replaces function based views for creating, editing, removing and fetching documents with class based views * implemented for all major data types* splits compensation/views/eco_account.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/eco_account/...