🌍 2024.djangocon.eu
📍 Vigo, Spain 🇪🇸
📅 June 5-9
optional - Create a virtual environment
python -m venv env
install requirements:
> pip install -r requirements/[ local | production ].txt
docker compose build
docker compose up
To access the running Django container, use docker compose exec django /bin/bash
.
But please note that currently, manage.py migrate
doesn't work, you need to use the provided sqlite3.db
.
After setting up the Django project,
point your local settings to the pre-populated SQLite database by appending the following to config/settings/local.py
:
import os
# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
}
}
As a contributor, you can help us keep the Django community open and inclusive. Please read and follow our Code of Conduct.
Get started contributing by reading our Contributing guidelines.
To contribute to this project, please follow these steps:
- Fork the Repo
- Clone the Repo to your local machine
- Follow "Local Development"
- make changes and submit a PR( we will review)
This project is licensed under the MIT License - see the LICENSE.md file for details.