Django project created by CodeWithStein, available in FreeCodeCamp's Learn Django by Building an Online Marketplace
Remember to run pip install -r requirements.txt
to install dependencies. requirements-dev.txt
for development dependencies.
Also py -m venv venv
to create a virtual environment. Then activate it with .\venv\Scripts\activate
.
Project started with django-admin startproject puddle
after pip install django
- Generated
/core
withpy .\manage.py startapp core
- Generated
/item
withpy .\manage.py startapp item
- To create migrations, run
py .\manage.py makemigrations
- To apply migrations, run
py .\manage.py migrate
- To run server, run
py .\manage.py runserver
- To create user for admin page, run
py .\manage.py createsuperuser
and enter your credentials. - To access admin page, go to
/admin
You can use flake8
to check for PEP8 compliance.
You can use black
(ex: black .
) to format your code.
Dev Commentary
First time messing with Django. This repository is just a way to say that I know something of this framework. 😐
The responsive aspect of the project is not existent. I just wanted to learn the basics of Django. The tutorial's title says "Python Tutorial for Beginners". That's funny.
Video timestamp: 1:50:44