Django community: RSS
This page, updated regularly, aggregates Django links from the Django community.
-
Easy Django Deployments with Ansible
The simplest Ansible playbook that would take you from a freshly created VM to a running Django site, with as ... -
How to add a new field to a model with new django migrations? - Stack Overflow
migrations -
Untitled (http://www.pythonjobshq.com/jobs/54738-full-stack-engineer-at-zapier)
Full Stack Engineer at @zapier ( #remote ) #python #django #reactjs #nodejs -
Kathleen's projects and stuff: Using IPython Notebook with Django on a remote server
-
Zulip
Open source chat server similar to slack.com -
Django中如何使用django-celery完成异步任务 (1) | 上海味股达信息科技有限公司
-
Sane Django Development with Docker | Austin Riba
-
Notes on using pip and virtualenv with Django - SaltyCrane Blog
-
Graphene – Pythonic GraphQL
-
Chapter 11: User Authentication in Django - Mastering Django
from django.conf import settings from django.contrib.auth.models import User, check_password class SettingsBackend(object): """ Authenticate against the settings ADMIN_LOGIN and ADMIN_PASSWORD. Use the login name, and a hash of the password. For example: ADMIN_LOGIN = 'admin' ADMIN_PASSWORD = 'sha1$4e987$afbcf42e21bd417fb71db8c66b321e9fc33051de' """ def authenticate(self, username=None, password=None): login_valid = (settings.ADMIN_LOGIN == username) pwd_valid = check_password(password, settings.ADMIN_PASSWORD) if login_valid and pwd_valid: try: user = User.objects.get(username=username) except User.DoesNotExist: # Create a new user. Note that we can set password # to anything, because it won't be checked; the password # from settings.py will. user = User(username=username, password='get from settings.py') user.is_staff = True user.is_superuser = True user.save() return user return None def get_user(self, user_id): try: return User.objects.get(pk=user_id) except User.DoesNotExist: return None -
Sane Django Development with Docker | Austin Riba
-
Sane Django Development with Docker | Austin Riba
Recently I started a new Django project, and this timeI decided to go all in on Docker. No virtualenvs,no local databases - containers all the way.There are about a million and 10 articles about how todockerize webapps by now. However, none of them seem toaddress one simple fact: we don't simply want todockerize our applications, we want to develop them too!sane-django-docker iscotains a sample django project webapp as well as the necessaryconfig files to run both a development and p... -
Sane Django Development with Docker | Austin Riba
-
Horizontal Partitioning in Postgres - Schinckel.net
-
Sane Django Development with Docker : Python
-
Tools for Testing in Django: Nose, Coverage and Factory Boy
Tools for Testing in Django: Nose, Coverage and Factory Boy -
Long Live Adjacency Lists - Schinckel.net
-
mongo-explain-plans.md
-
defrex/django-encrypted-fields
-
Guillaume Piot | Encrypted fields in Python/Django with Keyczar
-
Django Encryption – An Updated How-To | Bryan Helmig
Luckily, it seems that Django-Fields have solved this problem for us! Here is my (their) technique! Make a file named encryption.py to go into the same folder as your settings.py containing: -
Field Extensions — django-extensions 1.5.7 documentation
EncryptedCharField - CharField which transparently encrypts its value as it goes in and out of the database. Encryption is handled by Keyczar. To use this field you must have Keyczar installed, have generated a primary encryption key, and have settings.ENCRYPTED_FIELD_KEYS_DIR set to the full path of your keys directory. -
google/keyczar
Keyczar is an open source cryptographic toolkit designed to make it easier and safer for developers to use cryptography in their applications. Keyczar supports authentication and encryption with both symmetric and asymmetric keys. Some features of Keyczar include: A simple API Key rotation and versioning Safe default algorithms, modes, and key lengths Automated generation of initialization vectors and ciphertext signatures Java, Python, and C++ implementations International support in Java -
xss - Is Django's built-in security enough? - Information Security Stack Exchange
-
LinkedIn Social Authentication in Django - Real Python
This tutorial details how to set up LinkedIn social authentication in Django.