Re: mongoengine

2019-02-05 Thread thammanenitcs
I am not sure but try to import mongoengine.

I am also trying many ways to get this combo integration.



On Monday, February 4, 2019 at 11:29:16 PM UTC+5:30, B.navya spoorthi 
Sweety wrote:
>
> hi all
>  
> i am trying django with mongo
>
> i added following lines in settings.py
>
> mongoengine.connect(
> db="tools",
> host="localhost"
> )
>
> i am seeing error 
>   File "", line 697, in exec_module
>   File "", line 222, in 
> _call_with_frames_removed
>   File "C:\c_burra_mongo_1\mysite\mysite\settings.py", line 124, in 
> 
> mongoengine.connect(
> NameError: name 'mongoengine' is not defined
>
> i am aware that i need to change something here
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3',
> 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
> }
> }
>
> but not sure what to change
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7012c024-c5c9-40fa-83e1-0dbc6b6cd9f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Projects in django

2019-02-05 Thread thammanenitcs
Hi Nitin,

I am struggling to connect Django with MongoDB. 

Could you please help me to set up a workspace with this combo. 

it helps a lot to me.

Thanks,
Srinivas,
thammanen...@gmail.com



On Wednesday, January 16, 2019 at 1:31:01 PM UTC+5:30, Nitin Kumar wrote:
>
> Hi,
>
> I have an year of experience working in python and django. 
> I am looking for some projects in django for remote work.
>
> Regards, 
> Nitin Kumar 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/73caa425-7809-4cba-90ff-7ec07881ffbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sample work space required for Django with Mongodb integration.

2019-02-05 Thread thammanenitcs
Hi All,

I am trying from so many days to integrate both Django and MongoDB. but 
every time I am facing so many issues while doing migrations.

Could you please share anyone having sample workspace for Django with 
MongoDB.

It helps a lot to me.


Thanks and Regards,
Srinivas.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fc6cc46f-6d8e-49c0-aa92-2bc8992c7439%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.