hello i have been this problem since i change sqlite to postgresql when it was empty i hit migrate and create tables when i create superuser it bugs but still creates admin users , and when its creates i cannt log in so its basic django admin and should not be something different how can i fix this? is it wrong migrate or?
and this is traceback when i create superuser
Traceback (most recent call last):
File "manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 79, in execute
return super().execute(*args, **options)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute
output = self.handle(*args, **options)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 189, in handle
self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/contrib/auth/models.py", line 157, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/contrib/auth/models.py", line 140, in _create_user
user.save(using=self._db)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/contrib/auth/base_user.py", line 67, in save
super().save(*args, **kwargs)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/db/models/base.py", line 753, in save
self.save_base(using=using, force_insert=force_insert,
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/db/models/base.py", line 801, in save_base
post_save.send(
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 177, in send
return [
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 178, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "/var/www/html/web/users/signals.py", line 11, in create_profile
Profile.objects.create(user=instance)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/db/models/query.py", line 447, in create
obj.save(force_insert=True, using=self.db)
File "/var/www/html/web/users/models.py", line 25, in save
img = Image.open(self.image.path)
File "/var/www/html/web/venv/lib/python3.8/site-packages/django/db/models/fields/files.py", line 57, in path
return self.storage.path(self.name)
File "/var/www/html/webst/venv/lib/python3.8/site-packages/django/core/files/storage.py", line 116, in path
raise NotImplementedError("This backend doesn't support absolute paths.")
NotImplementedError: This backend doesn't support absolute paths.
Probably you have two users with same login. You could try to get all users with login which you use to login in admin panel
python manage.py shell
from users.models import User
User.objects.filter(login=your_login)
than you will get queryset, and if there more than one object with same login, just delete it
Looks that its something with the settings.py. Please be sure that the settings its ok:
https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-HOST
Share us the settings.py for more help
Related
Facing an error in Odoo 14 during the restoring process and also while running the server on the terminal.
Surprisingly it can run on the web, just can't proceed with the login with an error when doing the same.
Traceback (most recent call last):
File "/home/me/usr/oishi_odoo14/addons/web/controllers/main.py", line 946, in web_login
uid = request.session.authenticate(request.session.db, request.params['login'], request.params['password'])
File "/home/me/usr/oishi_odoo14/odoo/http.py", line 1025, in authenticate
uid = odoo.registry(db)['res.users'].authenticate(db, login, password, env)
File "/home/me/usr/oishi_odoo14/addons/website/models/res_users.py", line 70, in authenticate
uid = super(ResUsers, cls).authenticate(db, login, password, user_agent_env)
File "/home/me/usr/oishi_odoo14/odoo/addons/base/models/res_users.py", line 713, in authenticate
uid = cls._login(db, login, password, user_agent_env=user_agent_env)
doo14/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/home/me/usr/oishi_odoo14/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/me/usr/oishi_odoo14/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/me/usr/oishi_odoo14/odoo/http.py", line 806, in dispatch
r = self._call_function(**self.params)
File "/home/me/usr/oishi_odoo14/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/me/usr/oishi_odoo14/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/me/usr/oishi_odoo14/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/home/me/usr/oishi_odoo14/addons/website/controllers/main.py", line 140, in web_login
return super().web_login(*args, **kw)
File "/home/me/usr/oishi_odoo14/addons/web/controllers/main.py", line 946, in web_login
uid = request.session.authenticate(request.session.db, request.params['login'], request.params['password'])
File "/home/me/usr/oishi_odoo14/odoo/http.py", line 1025, in authenticate
uid = odoo.registry(db)['res.users'].authenticate(db, login, password, env)
File "/home/me/usr/oishi_odoo14/addons/website/models/res_users.py", line 70, in authenticate
uid = super(ResUsers, cls).authenticate(db, login, password, user_agent_env)
File "/home/me/usr/oishi_odoo14/odoo/addons/base/models/res_users.py", line 713, in authenticate
uid = cls._login(db, login, password, user_agent_env=user_agent_env)
File "/home/me/usr/oishi_odoo14/odoo/addons/base/models/res_users.py", line 690, in _login
if tz in pytz.all_timezones and (not user.tz or not user.login_date):
File "/home/me/usr/oishi_odoo14/odoo/fields.py", line 1021, in __get__
self.compute_value(recs)
File "/home/me/usr/oishi_odoo14/odoo/fields.py", line 555, in _compute_related
record[self.name] = self._process_related(value[self.related_field.name])
File "/home/me/usr/oishi_odoo14/odoo/models.py", line 5694, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/home/me/usr/oishi_odoo14/odoo/models.py", line 3071, in _fetch_field
self._read(fnames)
File "/home/me/usr/oishi_odoo14/odoo/models.py", line 3138, in _read
cr.execute(query_str, params + [sub_ids])
File "<decorator-gen-3>", line 2, in execute
File "/home/me/usr/oishi_odoo14/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/home/me/usr/oishi_odoo14/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UndefinedColumn: column res_partner.gender does not exist
LINE 1: ..."res_partner"."company_size2" as "company_size2", "res_partn...
^
HINT: Perhaps you meant to reference the column "res_partner.index".
I've tried various solutions on web with the error specified, but still couldn't resolve the error.
Anyone experienced a similar issues?, if do then
how come you resolved the issue?
Thanks
First approach for this issue is: to re-create the custom-field: (example: "res_partner.gender") in your custom module, in the corresponding model which _inherit=res_partner...
Another approach:
I had a similar problem, because i had delete a custom-field from a model, but this field was still used in a view.
I could solve it by desactivating the concerned view(s) containing my custom field (website.mycustomfield) using p.SQL request:
To identify the concerned views:
SELECT public.ir_ui_view
WHERE arch_db like '%website.mycustomfield%'
To desactivate the concerned views:
UPDATE public.ir_ui_view
SET active = false
WHERE arch_db like '%website.mycustomfield%'
Other insights into this issue:
https://www.youtube.com/watch?v=-zXnlycSXog
https://www.odoo.com/fr_FR/forum/aide-1/undefined-column-in-employees-module-182628
Can't install own custom modules in Odoo 13
PostgreSQL: column does not exists
problem odoo 13 and odoo12 not work but odoo11 working
Had an issue with django migration files not syncing with the db (was getting column not found) due to a Model being renamed. I don't completely understand migrations but after following different stackoverflow answers - performing fake zero migrations and then adding the manual migration file:
# Generated by Django 4.1 on 2022-10-10 00:47
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('campaigns', '0015_blah_blah'),
]
operations = [
migrations.RenameModel("PreviousModelName", "ModelName")
]
I thought the issue had been fixed. I can query the database without errors, I can add new fields to the renamed model and migrate them. Everything seemed to be working. But now I've realised that when I run python manage.py test I get the following error:
Traceback (most recent call last):
File "/code/manage.py", line 25, in <module>
main()
File "/code/manage.py", line 21, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/test.py", line 24, in run_from_argv
super().run_from_argv(argv)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/test.py", line 68, in handle
failures = test_runner.run_tests(test_labels)
File "/usr/local/lib/python3.9/site-packages/django/test/runner.py", line 1045, in run_tests
old_config = self.setup_databases(
File "/usr/local/lib/python3.9/site-packages/django/test/runner.py", line 941, in setup_databases
return _setup_databases(
File "/usr/local/lib/python3.9/site-packages/django/test/utils.py", line 220, in setup_databases
connection.creation.create_test_db(
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/creation.py", line 78, in create_test_db
call_command(
File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 198, in call_command
return command.execute(*args, **defaults)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 96, in wrapped
res = handle_func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 349, in handle
post_migrate_state = executor.migrate(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 135, in migrate
state = self._migrate_all_forwards(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
state = self.apply_migration(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 252, in apply_migration
state = migration.apply(state, schema_editor)
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/migration.py", line 130, in apply
operation.database_forwards(
File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/models.py", line 96, in database_forwards
schema_editor.create_model(model)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 442, in create_model
sql, params = self.table_sql(model)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 216, in table_sql
definition, extra_params = self.column_sql(model, field)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 346, in column_sql
field_db_params = field.db_parameters(connection=self.connection)
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 1183, in db_parameters
target_db_parameters = self.target_field.db_parameters(connection)
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 1060, in target_field
return self.foreign_related_fields[0]
File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 57, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 747, in foreign_related_fields
rhs_field for lhs_field, rhs_field in self.related_fields if rhs_field
File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 57, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 734, in related_fields
return self.resolve_related_fields()
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 1103, in resolve_related_fields
related_fields = super().resolve_related_fields()
File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/related.py", line 712, in resolve_related_fields
raise ValueError(
ValueError: Related model 'app.modelname' cannot be resolved
It seems like it throws an error when trying to create the test database. Is there something I need to do to sync the test database?
First delete all migration files and migrate apps manually by doing below command:
python manage.py makemigrations appname
python manage.py sqlmigrate appname 0001 #This value will generate after makemigration.
python manage.py migrate
Hope this will solve your error.
i tried this command to createsuperuser using this command
"heroku run python manage.py createsuperuser"
but it always throws me this error
Running python manage.py createsuperuser on ⬢ django-blog-web-app... up, run.4727 (Free)enter code here
Username (leave blank to use 'u10279'): ######################
Email address: #######################
Password:
Password (again):
'Traceback (most recent call last):
File "manage.py", line 21, in <module>
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/app/.heroku/python/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/app/.heroku/python/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/app/.heroku/python/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/app/.heroku/python/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 79, in execute
return super().execute(*args, **options)
File "/app/.heroku/python/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/app/.heroku/python/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 189, in handle
self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
File "/app/.heroku/python/lib/python3.8/site-packages/django/contrib/auth/models.py", line 158, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File "/app/.heroku/python/lib/python3.8/site-packages/django/contrib/auth/models.py", line 141, in _create_user
user.save(using=self._db)
File "/app/.heroku/python/lib/python3.8/site-packages/django/contrib/auth/base_user.py", line 66, in save
super().save(*args, **kwargs)
File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/base.py", line 745, in save
self.save_base(using=using, force_insert=force_insert,
File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/base.py", line 793, in save_base
post_save.send(
File "/app/.heroku/python/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 173, in send
return [
File "/app/.heroku/python/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 174, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
File "/app/Users/signals.py", line 10, in create_profile
Profile.objects.create(user=instance)
File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/query.py", line 433, in create
obj.save(force_insert=True, using=self.db)
TypeError: save() got an unexpected keyword argument 'force_insert'
i followed this tutorial to deploy my project on heroku.com
tried very hard to find a solution to my issue on the internet didn't any
please help...
I guess that it shouldn't work for you locally either. If your models have overridden save method, please check if you're always passing *args and **kwargs to overridden method.
Note that the exception is raised in a signal, on line Profile.objects.create(user=instance).
I'm working on a website which allows users to nominate and vote for different positions. I use Python 2.7 and Django 1.10. The position objects were added through django's admin interface on the actual server. Therefore, my local server is empty of any positions. I wanted to add the positions to my local server for the sake of development. I ran the command python manage.py dumpdata voting.Position --=2 > voting/fixtures/default_positions.json.
The fixture has been made, and now I want to loaddata. When I run python manage.py loaddata voting/fixtures/default_positions.json (on my local dir. not the website's/server's one), I get the following error:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 305, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 356, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 64, in handle
self.loaddata(fixture_labels)
File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 104, in loaddata
self.load_label(fixture_label)
File "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 167, in load_label
obj.save(using=self.using)
File "/usr/lib/python2.7/site-packages/django/core/serializers/base.py", line 201, in save
models.Model.save_base(self.object, using=using, raw=True, **kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 824, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 889, in _save_table
forced_update)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 939, in _do_update
return filtered._update(values) > 0
File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 652, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1148, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 337, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.DatabaseError: Problem installing fixture '/home/Saleha/trabd/voting/fixtures/default_positions.json': Could not load voting.Position(pk=1): file is encrypted or is not a database
The fixture file: https://pastebin.com/avRzHQyf (too long for this place)
I need to say, as well, that python manage.py runserver doesn't work, nor does python manage.py makemigrations; and all that happens is that this same error pops up.
If no solution, could someone at least guide me to how to undo the loaddata command, so at least I can get my local server running I again?
I apologize for the long introduction, but I'm relatively new to programming and thought I should explain as much as I can. My error could be in the simplest and silliest of places.
Any help is appreciated. Thank you in advance.
After going into the django shell and creating the following entry:
from blinks.models import *
q=Questions(
questions='What is science?',
tags=['science','psychology']
)
i am not able to use
q.save()
i am getting the following error message
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django/db/models/base.py", line 548, in save
force_update=force_update, update_fields=update_fields)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django/db/models/base.py", line 668, in save_base
result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django/db/models/manager.py", line 215, in _insert
return insert_query(self.model, objs, fields, **kwargs)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django/db/models/query.py", line 1675, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py", line 592, in execute_sql
key = self.insert(to_insert, return_id=return_id)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/compiler.py", line 84, in wrapper
return func(*args, **kwargs)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/compiler.py", line 387, in insert
collection = self.get_collection()
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/compiler.py", line 296, in get_collection
return self.connection.get_collection(self.query.get_meta().db_table)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 196, in get_collection
collection = self.collection_class(self.database, name, **kwargs)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 204, in __getattr__
self._connect()
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/django_mongodb_engine/base.py", line 261, in _connect
self.connection = connection_class(**conn_options)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/pymongo/mongo_client.py", line 322, in __init__
username, password, dbase, opts)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/pymongo/client_options.py", line 108, in __init__
options = dict([validate(opt, val) for opt, val in iteritems(options)])
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/pymongo/common.py", line 425, in validate
value = validator(option, value)
File "/Users/sunilkumar/blink2/lib/python2.7/site-packages/pymongo/common.py", line 100, in raise_config_error
raise ConfigurationError("Unknown option %s" % (key,))
DatabaseError: Unknown option auto_start_request
My folder structure is as follows:
/blink/
- blink
- __init__.py
- settings.py
- urls.py
- wsgi.py
- blinks (app folder)
- __init__.py
- models.py
- views.py
- tests.py
- manage.py
The versions used are:
Python 2.7.5+
Django-1.5.11-py2.7
pymongo-3.0.1-py2.7
django_mongodb_engine-0.5.2-py2.7
djangotoolbox-1.6.2-py2.7
Is there anything i am missing?
Can somebody please help me on what the problem is? i am new to django and mongodb. I am not able to find the solution anywhere.
I had to downgrade the pymongo-3.0.1 to pymongo 2.7 which solved the issue. This error is because of the fact that most of the keywords has been changed or deprecated in pymongo-3.0.1.
I had this same problem.
Choose an auto-generated password instead of your password.
That worked for me