Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

314
Views
I'm trying to install django=1.9 on ubuntu using python and I'm getting the following errors for admin login

django error displayed on terminal:

Not Found: /favicon.ico [21/Apr/2017 07:33:24] 
"GET /favicon.ico HTTP/1.1" 404 1963
Not Found: /favicon.ico [21/Apr/2017 07:33:25] 
"GET /favicon.ico HTTP/1.1" 404 1963 [21/Apr/2017 07:34:23] 
"GET /admin/ HTTP/1.1" 302 0
Internal Server Error: /admin/login/
Traceback (most recent call last):
File "/home/priya/.local/lib/python3.5/site-packages/django/template 
/utils.py", line 65, in __getitem__
return self._engines[alias]
KeyError: 'django'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/priya/.local/lib/python3.5/site-
packages/django/template/backends/django.py", line 126, in 
get_package_libraries

And this is the error message displayed on Browser:

InvalidTemplateLibrary at /admin/login/

Invalid template library specified. ImportError raised when trying to load 
'django.templatetags.future': cannot import name 'RemovedInDjango110Warning'

  Request Method:   GET
  Request URL:  http://localhost:8000/admin/login/?next=/admin/
  Django Version:   1.11 

I have installed django=1.9 version and it's showing 1.11

  Exception Type:   InvalidTemplateLibrary
  Exception Value:  

  Invalid template library specified. ImportError raised when trying to load 
  'django.templatetags.future': cannot import name 
  'RemovedInDjango110Warning'

   Exception Location:  /home/priya/.local/lib/python3.5/site-
   packages/django/template/backends/django.py in get_package_libraries, 
    line 130
   Python Executable:   /usr/bin/python3
   Python Version:  3.5.2
   Python Path:     

 ['/home/priya/Desktop/project/project',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-i386-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
'/home/priya/.local/lib/python3.5/site-packages',
'/usr/local/lib/python3.5/dist-packages',
 '/usr/lib/python3/dist-packages']
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

url is removed from future template lib in django 1.9, so if you try to import in your templates like: {% load url from future %} it will give import error. If url is needed in your template, just use it and delete the import.

https://docs.djangoproject.com/en/1.11/releases/1.9/#features-removed-in-1-9

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!