Tags "django" Result

What's the best solution for OpenID with Django?

Please note: this is an ancient question with ancient answers. Most of the linked apps are now unmaintained. These days, most people seem to use django-allauth or python-social-auth. I'll leave the original question intact below for posterity's sake. There are at least half a dozen Django apps that provide OpenID authentication for Django: dja

it1352 0 2019-05-15

Django-registration compatibility issue with django 1.7

I've been using [django-registration] (https://bitbucket.org/ubernostrum/django-registration) and now I have started using django 1.7b1 and here is the error I am getting the error copied below. It is being raised from django-registration in models.py: try: from django.contrib.auth import get_user_model User = get_user_model() except Impor

it1352 3 2019-05-15

Django 1.9 Compiling Error

I created a virtualenv and downloaded Django with the below commands: virtualenv tester source tester/bin/activate pip install django and below is the response: Downloading/unpacking django Downloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded Installing collected packages: django Compiling /home/romaan/workspacepy/tester/buil

it1352 2 2019-05-15

Effects of changing Django's SECRET_KEY

I made a mistake and committed my Django project's SECRET_KEY into a public repository. This key should have been kept secret according to the docs https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SECRET_KEY The Django project is live and has been running for a while with some active users. What are the effects if I change the SECR

it1352 1 2019-05-15

Django and App Engine

I wanted to check the status of running Django on the Google App Engine currently and what the benefits of running django on GAE over simply using Webapp. Django main killer feature, IMHO, is the reuseable apps and middleware. Unfortunately, most current Django apps use models or model forms (django-tags, django-reviews, django-profiles, Pinax ap

it1352 3 2019-05-15

Django migrate model with user in a foreignkey fails

Im trying to migrate my django model: from django.contrib.auth.models import User class Post(models.Model): headline = models.CharField(max_length=200) slug = models.SlugField(max_length=200) body = models.TextField(blank=True, null=True) author = models.ForeignKey(User, null=True, blank=True) I added the author field after I c

it1352 2 2019-05-15