Questions tagged [django-1.11]

Django 1.11 is a version of the Django framework, released April 2017. It is a Long Term Support (LTS) release, and will be supported until at least April 2020. Please only use this tag if your question relates specifically to this version.

Django 1.11 requires Python 3.4, 3.5, or 3.6. It is the last version of Django to support Python 2.

Here are some of the salient features of Django 1.11:

Django-1.11 was released in April 2017 as a long-term support release and will be supported until April 2020.

324 questions
-1
votes
1 answer

download link for an instance of django file field

i write make an xml file and save it to the database with filefield and i want to make a download link to template. it is my view: def xmlFile(request): all = request.POST data = dict(all) username =…
-1
votes
1 answer

Django does not createing superuser with custom user model

I created a custom user model as shown in this question. Only difference here is that I don't have a custom backend authentication. I did the migration after creating the user model. But manage.py createsuperuser not creating a super user in the…
Binoy
  • 79
  • 1
  • 2
  • 6
-1
votes
1 answer

Django 1.11 template inheritance {% extends 'base.html' %} display error

Beforehand, thanks to everyone who could help. I'm having some strange behavior of the Django "template inheritance" - the main problem is {% extends 'base.html' %} in (menu.html) displays nothing in the target (base.html) document. And on the…
-1
votes
1 answer

How create recursive loop for parsing the json?

I use Nestable2 plugin in my Django project to create tree. When user change the order of tree nodes, plugin return me JSON which I send by Ajax to server. Nestable2 return me JSON:…
Nurzhan Nogerbek
  • 4,806
  • 16
  • 87
  • 193
-1
votes
2 answers

How to import all the contents from my Wordpress blog to my blog which I am currently building in this course?

I mean to say is I have Wordpress webtsite for blogging and I am now planning to build a new custom blog from django and I want to import all the contents from the Wordpress to new django powered site as I have my own server and hosting Wordpress…
-2
votes
1 answer

Difficulty uploading a file to a FileField, form isn't valid

Halo, i'm trying to upload a file using filefield. But i always failed. when statement form.errors.as_data() executed, the browser return 'tempfile'. I already trying to find solution from django documentation and some django references. But, still…
gustav
  • 197
  • 1
  • 9
-3
votes
2 answers

how to start the forloop.counter from a different index

I have 2 seperate forloops and i am using forloop.counter in bothloops. I want to start the second forloop counter from the ending of first forloop {% for i in something1 %} {{ forloop.counter }} i.username …
mohammed wazeem
  • 1,310
  • 1
  • 10
  • 26
-3
votes
2 answers

Not able to open website using domain-name,published using DigitalOcean

I'm not able to view my website,created using Django 1.11.13,Python version 2.7.12;using it's domain name 'www.mysticprogrammer.net',which I bought in https://domains.google.I've used DigitalOcean,as platform for publishing.And,I've added the…
-4
votes
1 answer

Ordered Dictionary is not updating in python

views.py from collections import OrderedDict request_dict = OrderedDict() def payment(request): request_dict[0] = 1 request_dict[1] = 2 tasks.py from Payment.celery import app from celery.task.schedules import crontab from…
Anita Aren
  • 61
  • 1
  • 11
1 2 3
21
22