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