Questions tagged [django-1.7]

Django 1.7 is the version of the Django framework, released September 2014. Please only use this tag if your question relates specifically to this version.

Django 1.7 depends on Python 2.7 and supports Python 3.4, support for Python 2.6 has been dropped.

Tag questions that address any of these new features:

  • Schema migrations
  • App-loading refactor
  • New method on Field subclasses
  • Calling custom QuerySet methods from the Manager
  • Using a custom manager when traversing reverse relations
  • New Prefetch object for advanced prefetch_related operations
  • Admin shortcuts support time zones
  • Using database cursors as context managers

If the question is not specific targeting features from this release please add . For questions about the new Schema migrations tool, please add .

See the Django 1.7 release notes for more information

394 questions
-1
votes
1 answer

HOW TO Configure url and view for filter between two dates

I don't know to how configure views.py and urls.py in myapp. for filter a list between dates from an input date in a template. This is my models.py: class Paciente(models.Model): tipo_doc = models.ForeignKey(Tipo_doc) num_doc =…
Fabio
  • 9
  • 3
-1
votes
1 answer

From Django1.7 onwards `migration` is into the core. Is it similar to `south`?

I am using south for migrations. Today I surprisingly found an interesting article, django1.7 support migrations. Interestingly I found that the startapp command even creates a folder migrations. python manage.py startapp myapp has tree: myapp/ …
suhailvs
  • 20,182
  • 14
  • 100
  • 98
-1
votes
1 answer

Django Raising Runtime Error

I got the following django error: "RuntimeError: App registry isn't ready yet." I am using django 1.7 development version.
user3198880
  • 57
  • 1
  • 3
-2
votes
1 answer

download file in django 1.7

I need to provide a button, once the user click on it It will download a PDF file or Image. I have been tried so many ways out there. non of them works. and I couldn't find any tutorial for this topic.
john
  • 25
  • 6
1 2 3
26
27