- This is a website written in Python's framework Django, that is aiming for people to share software related articles.
- Run
python manage.py runserver
- Go to http://127.0.0.1:8000/admin
- New admin:
python manage.py createsuperuser
- Make migrations when you make changes in the models.py. First use the following command:
python manage.py makemigrations
- then:
python manage.py migrate
- Use
{% load static %}
in the first line of the html files. - The correct way of using static paths:
{% static 'path_to_your_static_file.extension' %}
- Create a new app:
python manage.py startapp <appname>