About 6,470,000 results
Open links in new tab
  1. How do I do a not equal in Django queryset filtering?

    Feb 22, 2017 · Meanwhile, use exclude() The Django issue tracker has the remarkable entry #5763, titled "Queryset doesn't have a "not equal" filter operator". It is remarkable because (as …

  2. python - What is the difference between Django and Django Rest ...

    Django is the web development framework in python whereas the Django Rest Framework is the library used in Django to build Rest APIs. Django Rest Framework is especially designed to …

  3. django abstract models versus regular inheritance - Stack Overflow

    Besides the syntax, what's the difference between using a django abstract model and using plain Python inheritance with django models? Pros and cons? UPDATE: I think my question was …

  4. python - Uninstall Django completely - Stack Overflow

    Jan 3, 2014 · I uninstalled django on my machine using pip uninstall Django. It says successfully uninstalled whereas when I see django version in python shell, it still gives the older version I …

  5. python - Django TemplateDoesNotExist? - Stack Overflow

    Dec 18, 2009 · My local machine is running Python 2.5 and Nginx on Ubuntu 8.10, with Django builded from latest development trunk. For every URL I request, it throws: …

  6. How to query Case-insensitive data in Django ORM?

    Jul 20, 2022 · How can I query/filter in Django and ignore the cases of my query-string? I've got something like and like to ignore the case of my_parameter: …

  7. How to get all fields for a Django model? - Stack Overflow

    Given a Django model, I'm trying to list all of its fields. I've seen some examples of doing this using the _meta model attribute, but doesn't the underscore in front of meta indicate that the …

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

    Jul 15, 2016 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …

  9. 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: …

  10. How to use if/else condition on Django Templates?

    How to use if/else condition on Django Templates? Asked 13 years, 4 months ago Modified 2 years, 10 months ago Viewed 256k times