Re: Postgres along with Mongodb

2019-08-12 Thread carlos
http://www.aptuz.com/blog/is-postgres-nosql-database-better-than-mongodb/ https://www.enterprisedb.com/es/nosql-overview On Mon, Aug 12, 2019 at 10:45 PM Suraj Thapa FC wrote: > Sir, how can I implement it..? > > On Mon, 12 Aug, 2019, 8:10 PM Jani Tiainen, wrote: > >> Hi. >> >> Yes you can.

Re: Postgres along with Mongodb

2019-08-12 Thread Suraj Thapa FC
Sir, how can I implement it..? On Mon, 12 Aug, 2019, 8:10 PM Jani Tiainen, wrote: > Hi. > > Yes you can. Of course since mongodb isn't relational database you get > best experience by using native python api to mongodb and Django orm for > postgres. > > > ma 12. elok. 2019 klo 15.57 Suraj Thapa

facing issue on unit test

2019-08-12 Thread Arulselvam K
Have hosted the code @ "https://github.com/tbone230590/plib; Here is the problem I have two models Book and IssuedBook, IssuedBook have foreign key relation to Book object.Those models are defined @ "/api/data/models" I have unit tests for testing those models and are available @

Re: Postgres along with Mongodb

2019-08-12 Thread Rupert Smith
Hi Django Users! I work for Xelix, a London Based fin-tech that is revolutionising invoice management, with Machine Learning, helping improve supply chain efficiency and loss prevention in companies like G4S, JCDecaux Group and Mountain Warehouse. This is us: https://www.xelix.com/ We use a lot

Re: Postgres along with Mongodb

2019-08-12 Thread Jani Tiainen
Hi. Yes you can. Of course since mongodb isn't relational database you get best experience by using native python api to mongodb and Django orm for postgres. ma 12. elok. 2019 klo 15.57 Suraj Thapa FC kirjoitti: > How can I use postgres along with Mongodb > Different table different db > > --

Re: Django Rest Framework

2019-08-12 Thread ajoeiam
On Monday, August 12, 2019 at 6:10:31 AM UTC-5, Soumen Khatua wrote: > > I'm trying to write myself, Please tell me how I can do that by myself. > Not speaking as an expert but - - - - if you want to roll your own why not find his project (where to find listed above) download the thing and at

Fwd: Django template permissions not working when used inside the template of an inclusion tag

2019-08-12 Thread er
I am uncertain what is the source of the problem here and due to I doubt it is a bug, i checked what is available for django and thought the mailing list is a good place to post this question. You can see the issue better formatted here

Django Project - 1 database 2 schemas - Postgres database

2019-08-12 Thread LeandroL
Hi, I am working on a public project that uses Django. When I do ‘python manage.py migrate’ I get all my tables created properly on schema public. It also creates an extension hstore (and at least one of the table uses this extension). Then I rename the schema public, to for

Re: Storing credentials in the DB

2019-08-12 Thread Jani Tiainen
Unfortunately storing password in db has a fundamental flaw. To be able to use to access any remote source it has to be in usable form. Wether digested or plain text form it doesn't matter since at the moment you use it to login other resource it is in plain format (whatever format that is). ma

Re: Storing credentials in the DB

2019-08-12 Thread Sundararajan Seshadri
If I understand is right, user stores the credentials in a database, say A and another application, probably using a different database B wants to use the credentials from A. Right? There is no problem at all, except you need to: (a) write your own hook for validating the password in the

Re: Hi, can any one help me please.

2019-08-12 Thread Sundararajan Seshadri
It means that there is no line in urls.py of the main application with the name as 'display_laptop'. Probably you are confused with the action and name. Action should be a callable and should be imported in urls.py file. Name is the name of the route and it appears within quote (normally).

Re: Django parameters

2019-08-12 Thread Jani Tiainen
Hi. Yes and no. Django isn't cms but web application development library written in python. So yes you can do all those things. How much work and effort it requires depends on many factors. ma 12. elok. 2019 klo 14.13 tomas mracnik kirjoitti: > Hi, we are considering a new cms system in our

Postgres along with Mongodb

2019-08-12 Thread Suraj Thapa FC
How can I use postgres along with Mongodb Different table different db -- 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

Re: Hi, can any one help me please.

2019-08-12 Thread DPM
Can u plz show the code where this error coming... On Mon, 12 Aug, 2019, 5:00 PM goitom negash, wrote: > the following error is displayed when i try to write a function named as > display_laptop to display the available laptops in the backend. > NoReverseMatch at / > > Reverse for

Hi, can any one help me please.

2019-08-12 Thread goitom negash
the following error is displayed when i try to write a function named as display_laptop to display the available laptops in the backend. NoReverseMatch at / Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view function or pattern name. Request Method: GET Request URL:

Django parameters

2019-08-12 Thread tomas mracnik
Hi, we are considering a new cms system in our company. Does Django allows features like customize widget , emmbeding and single sign-on Active directory or office 365 ? Thank you for your answers. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django Rest Framework

2019-08-12 Thread Soumen Khatua
I'm trying to write myself, Please tell me how I can do that by myself. Thank you for your response. Regards, Soumen On Mon, 12 Aug 2019, 12:44 Andréas Kühne, wrote: > Have you used a plugin for nested handling? Or are you writing one > yourself? > > I would recommend using a plugin. We have

Django serializer constructor

2019-08-12 Thread Suraj Thapa FC
Is there any way I can initialize the value of uuid in serilaizer or maybe in view -- 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

Apphook to a django cms page

2019-08-12 Thread Perceval Maturure
Dear Django users. i am looking for a more straightforward tutorial or notes to perfom an aphook of my app to the django cms page. I cannot pick the app on the dropdown menu in my cms pages. Please below cms_app.py. # from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool

Re: Django Rest Framework

2019-08-12 Thread Andréas Kühne
Have you used a plugin for nested handling? Or are you writing one yourself? I would recommend using a plugin. We have developed one that you are free to use: drf-nested on pypi or there are others on Pypi as well. Regards, Andréas Den mån 12 aug. 2019 kl 08:34 skrev Soumen Khatua : > Hi

Django Rest Framework

2019-08-12 Thread Soumen Khatua
Hi Folks, I want to simple CRUD for Nested serializers but whenever I'm taking many = True,It's showing Address(nested model name) is not iterable. This is my github link: https://github.com/Herosoumen/RestFrameworkCRUD.git Please tell me How I can do that. Thank You. Regards, Soumen -- You