Boris Burkov
Boris Burkov
I believe, this example should be using version of Mongoengine like 0.8. In order to run management commands such as createsuperuser or createuser, it should rely upon mongoengine.django.auth module, which...
Default django authentication system won't work with Mongoengine. With Mongoengine versions under 0.9 you have a django app that might provide some admin management commands.
Versions please? I bet you're using wrong version of some library. Try installing the exact versions from `requirements.txt`.
This example is tested to wok with: django==1.9 djangorestframework==3.3.3 mongoengine==0.9 pymongo==2.7 django-rest-framework-mongoengine I'm afraid, I can't offer a version that is guaranteed to work with later versions. If you could...
@MohamedShawky Hi, Mohamed! So, what's the issue? What did you try to do? This app is meant to work as follows: you go to `/api/auth/` page, authenticate with your Username...
@MohamedShawky Hi, Mohamed. No I can't help you develop the whole application, sorry. It will take you half a year to a year (literally) to do that and I don't...
Ok, this schema design looks almost ok, except by the fact that I don't understand, what Document is `Comments` embedded into? Should it be embedded into `Project`? Note a couple...
@MohamedShawky Mohamed, are you passing your authentication Token with your request in a Authorization header of your request like this^ `Authorization: Token 401f7ac837da42b97f613d789819ff93537bee6a` It is not just a cookie, you...
Yes, to solve this, you need to manually add an id field to your UserSerializer: ``` class UserSerializer(DocumentSerializer): id = serializers.IntegerField(read_only=False) class Meta: model = User fields = '__all__' ```...
@ashokpal100 Hi, this error alone is non-descriptive. Could you also specify the messages, shown in your terminal console (where you probably said `python manage.py runserver`)?