Comments (3)
No, it does not work with python3.
Right now i don't have plans to add it, but accept any pull-requests if you can add it.
from django-mongoengine.
It is a syntax problem or does things needs to be redefined ?
In the head revision, I fixed 4 python3 syntax incompatibilities, so it build&install without error, but it doesn't start.
Here's the error :
(pyenv)17:10 emma@dev ~/app-django % python manage.py runserver
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f633c34d8c8>
Traceback (most recent call last):
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/utils/autoreload.py", line 249, in raise_last_exception
six.reraise(*_exception)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/srv/emma/pyenv/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2212, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/emma/pyenv/lib/python3.4/site-packages/django_mongoengine-0.1.1-py3.4.egg/django_mongoengine/mongo_admin/__init__.py", line 1, in <module>
from django_mongoengine.mongo_admin.options import *
File "/srv/emma/pyenv/lib/python3.4/site-packages/django_mongoengine-0.1.1-py3.4.egg/django_mongoengine/mongo_admin/options.py", line 6, in <module>
from django.contrib.contenttypes.models import ContentType
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/contrib/contenttypes/models.py", line 159, in <module>
class ContentType(models.Model):
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/db/models/base.py", line 94, in __new__
app_config = apps.get_containing_app_config(module)
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/srv/emma/pyenv/lib/python3.4/site-packages/Django-1.9.1-py3.4.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Should I assume it is python3 incompatibility, regarding the error ?
Edit: same error with the demo app it seems.
from django-mongoengine.
Today i was fixing many errors for django 1.9; just commited everything; update your repo and try again
from django-mongoengine.
Related Issues (20)
- How does the Permission are automatically made in auth module? HOT 1
- get_deleted_objects needs to be changed for admin view HOT 1
- Appconfig models is empty OrderedDict HOT 4
- Too slow with >1K documents! HOT 2
- unable to createsuperuser HOT 1
- Sub query using mongoengine
- fixes for django:3.1 import FieldDoesNotExist
- FieldDoesNotExist import Exception HOT 1
- there are many RemovedInDjango40Warning warnings HOT 2
- something wrong with django_mongoengine/forms/document_options.py HOT 4
- mongo-admin from django_mongoengine not supporting FieldList. Throwing ValidationError for list HOT 3
- Cannot import EMPTY_CHANGELIST_VALUE in django VERSION = (3, 0, 8, 'final', 0) HOT 2
- Is this package still maintained? HOT 1
- Admin pagination seems to be off by one. HOT 2
- Do not recommend djongo in the readme. HOT 1
- Is this project alive? HOT 4
- UI issue HOT 2
- Using list in a "not_contains" query HOT 1
- ModuleNotFoundError: No module named 'typing_extensions' HOT 3
- '_thread._local' object has no attribute 'no_dereferencing_class' for simple querryset HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-mongoengine.