-
This application was developed for a coding challenge, which only specified that it be a full CRUD application written in Python using the Django framework. From the landing page, the user should be able to see the list of items (I went with an Avengers theme because I just saw Captain Marvel last weekend) and include a details page that is pathed to using the field name. The user should also be able to update and delete each Avenger in the list.
-
This is a full stack application, but the front end is fairly simple, with no JavaScript and only basic CSS.
-
I leaned heavily on the tutorial videos from Derek Banas on Youtube to get my head around what I was doing with setting up a Django project. https://www.youtube.com/playlist?list=PLGLfVvz_LVvSMqZiTTsAC7C8Ypp81Jt6D
-
I also looked at the resource Django Girls to complete working on the update/add functionality. https://tutorial.djangogirls.org/en/django_forms/
(I developed and ran this on a Mac, so substitute 'python3' for 'python' if you're running this on Windows)
Make sure you have the latest version of Django installed.
Create the database:
python3 manage.py makemigrations
python3 manage.py migrate
Then run the server:
python3 manage.py runserver
I've been working to deploy this app on Heroku, but am currently working around errors. Currently, I can't get settings.py to recognize 'import django_heroku', even though I have it installed and it imports with no problems in the python console. Once I resolve this, I'll add the link here.