- Language: en
31 results for sort in version 2.1
-
Model field reference
- … sort of reference, called a lazy relationship, can be useful when resolving circular import dependencies …
-
URL dispatcher
- … sort of match the regular expression makes. When switching from using path() to re_path …
-
File Uploads
- … sort of AJAX widget. You’d add this handler to your upload handlers like this …
-
The “sites” framework
- … sort of hard-coding is best for hackish fixes that you need done quickly. The cleaner …
-
Model Meta options
- … sort last, use this: from django.db.models import F ordering = [ F ( 'author' ) . asc ( nulls …
-
Design philosophies
- … sort of common sitewide design – a common header, footer, navigation bar, etc. The Django template …
-
Full text search
- … sort of relevancy. PostgreSQL provides a ranking function which takes into account how often the query …
-
Submitting patches
- … sort of design decision. If you provide a non-trivial patch, include evidence that alternatives …
-
Unit tests
- … sorting , the documentation spelling checker , and code formatting ), install and run the tox command from …
-
Making queries
- … sorts of filter you may be interested in. Consider the Blog / Entry relationship ( Blog to Entry …
-
Database transactions
- … sort of error. Transaction rollback The first option is to roll back the entire transaction …