Skip to content

therealhalonen/django_tasklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Tasklist App

Simple tasklist app, made to a small, few employee locksmith company, to help them handle their daily/weekly tasks.

Easily customisable and adjustable.

Made with Django Python Framework

In the course: https://terokarvinen.com/2021/python-web-service-from-idea-to-production-2022/

App running: http://anttihalonen.rocks/

Current Version: Beta

  • Fully functional, but plenty of features and polishing can be done with flexible timeframe, and minimal programming skills.

01.06.2022 - This app was developed in around 24h, with about 7days knowledge of Django and Python

Download source: Tasklist App

Installation instructions:

$ git clone https://github.com/therealhalonen/django_tasklist
$ cd django_tasklist
$ sudo apt-get -y install virtualenv
$ virtualenv --system-site-packages -p python3 env/
$ source env/bin/activate
$ pip install -r requirements.txt

Now you have to create a Django Secret Key in your preferred terminal!

python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'

Copy the output, and add it to the settings.py

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'YOUR KEY HERE'

Browse back to the project folder that has manage.py

$ ./manage.py migrate
$ ./manage.py createsuperuser
# give your details
$ ./manage.py runserver

Go to http://127.0.0.1:8000/ with your browser. Firefox preferred.

Profit!

Optional feature:

If you want to have new users to be registered as inactives, and activate them through admin panel, do the following AFTER YOU HAVE AN ADMIN USER READY

micro job/models.py

Uncomment all:

#@receiver(pre_save, sender=User)
#def set_new_user_inactive(sender, instance, **kwargs):
#    if instance._state.adding is True:
#        print("Creating Inactive User")
#        instance.is_active = False
#    else:
#        print("Updating User Record")

Screenshots:

Front:

Image

Delete:

Image

Detailed:

Image

Create:

Image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published