Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in django-managers

import RelatedManager from django.db.models.fields.related

django django-managers

override Django get_or_create

Django custom model managers

User manager methods create() and create_user()

How to use custom managers in chain queries?

How does use_for_related_fields work in Django?

Django Manager Chaining

AttributeError: 'Manager' object has no attribute 'get_by_natural_key' error in Django?

Django custom managers - how do I return only objects created by the logged-in user?

How to use custom manager with related objects?

select_related with reverse foreign keys

Django ORM - objects.filter() vs. objects.all().filter() - which one is preferred?

Custom QuerySet and Manager without breaking DRY?

When should I use a custom Manager versus a custom QuerySet in Django?

Manager isn't accessible via model instances

How to Unit test with different settings in Django?