This Django project has two major "apps": accounts and prints.
-
accountsmanages users. It implements a custom user classSiteUser. It has no custom views of its own, rather uses thedjango.contrib.authviews for login and logout. -
printsimplements thePrintsclass and manages the printing operations. As of this writing, it implements only thesubmit_viewto submit the texts for printing. It has a few helper functions defined in helpers.py. Printer operations are defined in printer.py.
-
Model
SiteUsercontains user info.siteuser typical user info.. organization printer remaining_pages Perhaps
remaining_pagesought to be removed from here and put to somewhere else. -
Model
Printscontains info about the print requests.prints created_at user (FK) content pages pdf_path
Please go through the source code.