use djongo without models

73 views
Skip to first unread message

fabien leboeuf

unread,
Apr 28, 2020, 6:39:09 AM4/28/20
to djongo

hello

first, i am not an expert of django. I do tutorials little by little

I dive in  djongo but i am not sure djongo will match with the pratice i want eventually.

i already have a mongodb database. I manage and insert document through robo3T.
i would like to create a webApp to display some data through django. however, i dont want to create any models. I just want to pick data up and display them.

How can i do it with djongo ?

I suppose i could use pyMongo directly but i dont know what to do that

or do i have to swicth for another framework, like flask ?

thank you in advance

cheers

fabien
 
 


 

Private

unread,
Apr 28, 2020, 7:35:44 AM4/28/20
to fabien leboeuf, djongo
You don’t need to create any models. You have however to configure your app properly, take care of the urls and use the right mixins for your views (or write your own views from scratch)

Sent from my iPhone

On 28 Apr 2020, at 12:39, fabien leboeuf <fabien....@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "djongo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djongo+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/djongo/acf17e7e-27ed-409d-af95-761e30c325e1%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages