The Mother of ALL Calendars.
A web application to easily manage large team of consultants. It has some functionalities that helps managements in the assignment and following up tasks.
- You must have Python 3 installed.
- Install the requirements libraries:
python -m pip install -r requirements
- Go through the
Calendarinho/settings.py
and set your settings, specially the Database:
(In the Calendarinho/settings.py file)
# MySQL Database:
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': 'Calendarinho',
# 'USER': 'Calendarinhouser',
# 'PASSWORD': 'Calendarinhopassword',
# 'HOST': 'localhost',
# 'PORT': '',
# }
# }
# sqlite3 Database:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
Also, in the same file, you can setup the Email settings:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# Gamil Settings (You must enable "Less-Secure-App" in Google account settings)
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# EMAIL_HOST = 'smtp.gmail.com'
# EMAIL_PORT = 587
# EMAIL_USE_TLS = True
# EMAIL_HOST_USER = os.environ.get('EMAIL_USER')
# EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASSWORD')
- Run: "makemigrations":
python manage.py makemigrations users
python manage.py makemigrations CalendarinhoApp
python manage.py makemigrations
- Run: "migrate":
python manage.py migrate users
python manage.py migrate CalendarinhoApp
python manage.py migrate
- Run: "collectstatic"
python manage.py collectstatic
- Create the admin user:
python manage.py createsuperuser
- Before adding item, do frontend check for fields.
- Add the ability to update or cancel leaves without the need for admin