This is a template project for Django web applications in Codeanywhere. Try it out
When you first open this template, you can run your Django development server with:
cd test_project
python manage.py runserver 0.0.0.0:8000
Open http://localhost:8000 with your browser to see the result.
- Development container for Django web applications
- Pre-installed Django and essential packages
- PostgreSQL client for database connectivity
- Code formatting and linting tools (Black, Flake8, Pylint)
- VS Code extensions for Django development
- Fast development-to-preview workflow
This template project has the following structure:
test_project/
├── core/ # A basic Django app
│ ├── migrations/ # Database migrations
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── models.py
│ ├── tests.py
│ ├── urls.py # URL routing for the app
│ └── views.py # View functions/classes
├── test_project/ # Project settings
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py # Project configuration
│ ├── urls.py # Main URL routing
│ └── wsgi.py
├── db.sqlite3 # SQLite database
├── manage.py # Django management script
└── README.md # Project README
To learn more about Django, take a look at the following resources:
- Django Documentation - learn about Django features and API
- Django Tutorial - create your first Django app
- Django REST Framework - build APIs with Django
- Django Debug Toolbar - debug and analyze your Django apps
Feel free to open a PR with any suggestions for this template project 😃