Tags "django" Result

TemplateDoesNotExist at /

Hej! Many threads here had the same caption, but none of them solved my problem. I have a Django site an can access /admin (but it looks ugly). But on / there appears the following error page (DEBUG = True in settings.py): TemplateDoesNotExist at / index.html Request Method: GET Request URL: http://iecl.uni-potsdam.de/ Django Version:

it1352 0 2020-10-23

TemplateSyntaxError: 'settings_tags' is not a valid tag library

i got this error when i try to run this test case: WHICH IS written in tests.py of my django application: def test_accounts_register( self ): self.url = 'http://royalflag.com.pk/accounts/register/' self.c = Client() self.values = { 'email': 'bilal@gmail.com', 'first_name': 'bilal', 'last_name': 'bash', '

it1352 0 2020-10-23

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 1 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 4 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