diff --git a/brutaldon/forms.py b/brutaldon/forms.py index d348d5f..83c58bd 100644 --- a/brutaldon/forms.py +++ b/brutaldon/forms.py @@ -1,6 +1,13 @@ +# The Forms modules supplies tools for http get and post, +# and building the
html elements to use them. from django import forms +# This module gives us access to the settings given to +# Django at runtime via settings files. from django.conf import settings +# Module for translating text, returns strings from django.utils.translation import gettext as _ +# Module for calculating times +# Note: Python 3.9 or later projects should be using internal libraries per pytz docs from pytz import common_timezones from .models import Theme, Preference diff --git a/brutaldon/models.py b/brutaldon/models.py index fcf65d7..f518bea 100644 --- a/brutaldon/models.py +++ b/brutaldon/models.py @@ -1,6 +1,10 @@ from django.db import models +# Module to access variables given to Django at runtime from django.conf import settings +# Module to translate strings from django.utils.translation import gettext as _ +# Module for calculating time +# Note: Python 3.9 or later programs should use internal libraries, per pytz docs from pytz import common_timezones timezones = [(tz, tz) for tz in common_timezones]