django-models 386

  1. differentiate null=True, blank=True in django
  2. How do I do a not equal in Django queryset filtering?
  3. What is a “slug” in Django?
  4. Filtering for empty or NULL names in a queryset
  5. What's the difference between django OneToOneField and ForeignKey?
  6. How to define two fields “unique” as couple
  7. Django: When saving, how can you check if a field has changed?
  8. Django - How to rename a model field using South?
  9. Django auto_now and auto_now_add
  10. How do I clone a Django model instance object and save it to the database?
  11. Programmatically saving image to Django ImageField
  12. Django: Why do some model fields clash with each other?
  13. Django database query: How to filter objects by date range?
  14. How to pull a random record using Django's ORM?
  15. Fastest way to get the first object from a queryset in django?
  16. How to delete a record in Django models?
  17. django orm, how to view (or log) the executed query?
  18. Django dynamic model fields
  19. Django: Get list of model fields?
  20. Convert Django Model object to dict with all of the fields intact
  21. In Django, how does one filter a QuerySet with dynamic field lookups?
  22. What's the difference between select_related and prefetch_related in Django ORM?
  23. Django FileField with upload_to determined at runtime
  24. How to limit the maximum value of a numeric field in a Django model?
  25. Django Model - Case-insensitive Query / Filtering
  26. In a django model custom save() method, how should you identify a new object?


  27. Why doesn't django's model.save() call full_clean()?
  28. Django filter versus get for single object?
  29. How do you serialize a model instance in Django?
  30. How to express a One-To-Many relationship in Django
  31. How to create an object for a Django model with a many to many field?
  32. django : using select_related and get_object_or_404 together
  33. Django dump data for a single model?
  34. what does on_delete do on Django models?
  35. What is the most efficient way to store a list in the Django models?
  36. Reload django object from database
  37. Unique fields that allow nulls in Django
  38. Problems with contenttypes when loading a fixture in Django
  39. Resize fields in Django Admin
  40. How to 'bulk update' with Django?
  41. Get model's fields in Django
  42. django syncdb and an updated model
  43. Specifying a mySQL ENUM in a Django model
  44. Django - Circular model import issue
  45. models.py getting huge, what is the best way to break it up?
  46. Set Django IntegerField by choices=… name
  47. Can a dictionary be passed to django models on create?
  48. Tying in to Django Admin's Model History
  49. Django: Set foreign key using integer?
  50. How do I get Django Admin to delete files when I remove an object from the database/model?