Shipra Shalini
Shipra Shalini
I couldn't find the difference or the use cases for `.select_related()`, `.fetch_related()` and `.prefetch_related()` in the documentation. It would be really helpful to have it documented.
I am trying to split a table into two and there's a need to transform the data before moving it. I am using a few plpgsql functions to achieve that....
Let's consider these sample models, serializers and view: ``` class Author(Document): name = StringField() class Book(Document): name = StringField() author = ReferenceField(Author, dbref=True) class AuthorSerializer(DocumentSerializer): class Meta: model = Author...
I'm trying to create a Writable nested serializer as metioned in [DRF Documentation](http://www.django-rest-framework.org/api-guide/relations/#writable-nested-serializers). I created following Models and serializers and am using dummy data to test it but it throws...
I am running a simple test to print hello every 30 sec using celery 4.0.2 in my django app. ``` @app.task() def test(): print("hello") ``` My celery config is: ```...
When I login to django admin with super user I get the following message. The user_permissions array is also empty in mongodb. > { > "_id": ObjectId("57dc5db686w5c77e351e2e1c"), > "_cls": "User.Member",...
Since `lookup_field` for `DeviceViewSetMixin` is `registration_id`, shouldn't `registration_id` be indexed?
I am trying to initialise `aerich` for an existing project which has configuration files and many migration files, in a new environment with a fresh db. `aerich init-db --safe true`...
cannot run django-devserver on Django 1.10.5.