About 4,320,000 results
Open links in new tab
  1. 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: …

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

    Jun 28, 2012 · 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 …

  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. 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.

  5. 'django-admin' is not recognized as an internal or external …

    I tried starting my own project in Django but I keep getting "'django-admin' is not recognized as an internal or external command, operable program or batch file."

  6. 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

  7. django - What is a NoReverseMatch error, and how do I fix it?

    Jul 15, 2016 · 2 With django-extensions you can make sure your route in the list of routes: ./manage.py show_urls | grep path_or_name If the route is missing you probably have not …

  8. How to use Django template as a component? - Stack Overflow

    Aug 10, 2018 · I came from reactjs and react native and now using django. Looking at this question, the include tag only bring the component along with its style, right? I think that for it …

  9. django - Missing slash in the URL caused error: 405 POST method …

    My first answer on SO. After trying everything here and being frustrated for the past 6 hours, it finally hit me and I found another reason this might be happening; I, quite simply, was not …

  10. Django - how to annotate multiple fields from a Subquery?

    I'm working on a Django project on which i have a queryset of a 'A' objects ( A.objects.all() ), and i need to annotate multiple fields from a 'B' objects' Subquery.