mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
Adding comments in code.
This commit is contained in:
parent
9768c08466
commit
884f995f6e
@ -1,6 +1,13 @@
|
||||
# The Forms modules supplies tools for http get and post,
|
||||
# and building the <form> 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
|
||||
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user