About 4,320,000 results
Open links in new tab
  1. How to combine multiple QuerySets in Django? - Stack Overflow

    9 Requirements: Django==2.0.2, django-querysetsequence==0.8 In case you want to combine querysets and still come out with a QuerySet, you might want to check out django-queryset …

  2. django - Select distinct values from a table field - Stack Overflow

    Mar 18, 2010 · I'm struggling getting my head around the Django's ORM. What I want to do is get a list of distinct values within a field on my table .... the equivalent of one of the following: …

  3. python - Django values_list vs values - Stack Overflow

    May 13, 2016 · The best place to understand the difference is at the official documentation on values / values_list. It has many useful examples and explains it very clearly. The django docs …

  4. Creating a JSON response using Django and Python

    Its very convenient with Django version 1.7 or higher as you have the JsonResponse class, which is a subclass of HttpResponse. from django.http import JsonResponse

  5. Newest 'django' Questions - Stack Overflow

    In a Django project, I want to display values from a table in the database, provided that a filter is applied to some data in one of the columns. For example, the gender column.

  6. Django: How to manage development and production settings?

    May 19, 2012 · The DJANGO_SETTINGS_MODULE environment variable controls which settings file Django will load. You therefore create separate configuration files for your respective …

  7. django - What is reverse ()? - Stack Overflow

    Given a url pattern, Django uses url () to pick the right view and generate a page. That is, url--> view name. But sometimes, like when redirecting, you need to go in the reverse direction and …

  8. python - Connecting Django with MSSQL server - Stack Overflow

    Following official django documentation (currently django 3.1) django-mssql-backend should be used. Django-MSSQL-backend django database adapter is a fork of django-pyodbc-azure …

  9. python - How to check Django version - Stack Overflow

    Jun 24, 2011 · 725 I have to use Python and Django for our application. So, I have two versions of Python, 2.6 and 2.7. Now I have installed Django. I could run the sample application for testing …

  10. How to add url parameters to Django template url tag?

    Aug 17, 2014 · How to add url parameters to Django template url tag? Asked 10 years, 10 months ago Modified 5 years, 11 months ago Viewed 310k times