Closed jmrjrmv closed 6 years ago
Hello,
In short - it doesn't.
django-mongoengine wasn't implemented as ORM, thus, you can't just plug it in and expect Django to function in a normal way. Although it has been kept close to django's coding style, so that migrating from Django's ORM to django-mongoengine would be trivial.
If you have to implement it using mongoengine, you could clone it, rename it (to django-dash-mongoengine) and re-write models, forms and other parts where Django ORM would be used.
At the moment I'm busy with another great start-up, but in case you would go for it, I could make some parts of the code more generic and easier to replace.
Best regards,
Artur
Thanks a lot for your answer. Indeed, i would like to use this package with my django-mongoengine environment and test the results. I will first check some modifications and if it seems very trivial and works , i will fork and create a django-dash-mongoengine. I'll keep you informed. But I would have appreciate also in case you had time to provide a more generic and easier to replace code.
Best regards
I am having problems with setup, I keep getting the following error:
(dashboardenv) ttuti@KENBO-HWB01:~/dashboard/django-dash-stable/examples/example$ pip3 install https://github.com/barseghyanartur/django-dash/archive/stable.tar.gz
Collecting https://github.com/barseghyanartur/django-dash/archive/stable.tar.gz
Downloading https://github.com/barseghyanartur/django-dash/archive/stable.tar.gz (4.5MB)
100% |################################| 4.5MB 135kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-y90f3no6-build/setup.py", line 136, in <module>
for f in os.listdir(template_dir)]
FileNotFoundError: [Errno 2] No such file or directory: 'src/dash/contrib/layouts/bootstrap3/templates/bootstrap3'
Please help me resolve this
@ttuti:
That's really strange. Bootstrap3 is something that is still in development and I myself can't reproduce that error. Could you provide some more information? What Python version are you using? What system? As much as possible, please.
My environment is: python 3.4 django 1.10.6 Ubuntu 14.04.5 LTS
@ttuti:
I see. The stable tag is broken, but you can install it from PyPI.
pip install django-dash
The only place where it might be broken is the automated demo installer. Is that what you're trying to use?
Yes, it is the automated demo installer that is failing.
@ttuti:
Clear. It's gonna be fixed tonight.
@ttuti:
Fixed.
Might be possible with https://github.com/nesdis/djongo
Hi,
Does this django package work with django mongoengine configuration ?
Best regards