---
title: Django
kind: note
description: Link Excerpt Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web…
words: 291
readingMinutes: 1
created: '2024-06-12T19:16:18+02:00'
updated: '2024-06-12T19:16:18+02:00'
website: https://www.djangoproject.com/
---
## Link

<https://www.djangoproject.com/>

## Excerpt
> Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
## FAQ
### Django & Postgres & SSL
Forcing Django to connect using SSL to the database server:
```python
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'dbname',
        'USER': 'dbuser',
        'PASSWORD': 'dbpassword',
        'HOST': 'dbhost',
        'OPTIONS': {
            'sslmode': 'require',
        },
    },
}
```
Source: [Hynek Schlawack](https://hynek.me/articles/django-postgres-ssl/)
## Resources
- [django-social-auth](https://github.com/omab/django-social-auth)
  > Django social authentication made simple
- [django-allauth](https://github.com/pennersr/django-allauth)
  > django-allauth is a reusable Django app that allows for both local and social authentication, with flows that just work.
- [awesome-django](https://github.com/wsvincent/awesome-django)
  > A curated list of awesome things related to Django
- [djangosnippets](https://djangosnippets.org/)
  > a site for users of the Django web framework to come together and share useful "snippets" of reusable code
- [Tango with Django](https://www.tangowithdjango.com/) - last updated for Django 2.0 (outdated)
  > Learn web development with Python and Django
- [Gitignore for a Django project](https://djangowaves.com/tips-tricks/gitignore-for-a-django-project/)
- [Add a hidden field to a Django Form](http://www.semicolom.com/blog/add-a-hidden-field-to-a-django-form/)
  > How to add a hidden field to a Django Form or a Django ModelForm
- [The Django Book](https://djangobook.com/)
  > The Django Book is the original Django learning site created by the creators of Django*. It remains a site dedicated to publishing up-to-date resources for Django.
  >
  > \* Not to be confused with the owners of Django. That would be the [Django Software Foundation (DSF)](https://www.djangoproject.com/foundation/). This site is not affiliated with or endorsed by the DSF, but we are all good friends :).
- [Docker Compose Quickstart: Django](https://docs.docker.com/samples/django/)
  > This quick-start guide demonstrates how to use Docker Compose to set up and run a simple Django/PostgreSQL app.
- [Asynchronous Tasks With Django and Celery](https://realpython.com/asynchronous-tasks-with-django-and-celery/)
- [Django Packages](https://djangopackages.org/)
  > Django Packages is a directory of reusable apps, sites, tools, and more for your Django projects.
- [Django Danmark](https://www.linkedin.com/company/django-danmark/) [DK](/notes/denmark)
	- [YouTube](https://www.youtube.com/@djangodanmark4145)
- [Django from first principles](https://www.mostlypython.com/django-from-first-principles-2/)
