Django Rest Framework

2019-08-11 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 r

Re: Nested Model Issue

2019-08-11 Thread Soumen Khatua
Actually my query is different I want to do Get, Post and Update(Crud) operation by using rest framework on that following models. Thanks for your response. On Sun, 11 Aug 2019, 03:08 mohamed habib, wrote: > You can use a signal to ensure that a profile is created for each user. > Make sure all

Django 3.0: Please do not ignore the async-only usecase

2019-08-11 Thread Абеткин Виталий
This copied from my public gist: https://gist.github.com/abetkin/fe331872623503e24ae50d527114a554 Django 3.0: Please do not ignore the async-only usecase == - For how long you have considered making django async-only? - (Andrew Godwin) For about 2 minutes. @andrewgodwin yes, I decid

Load Template file from google storage bucket?

2019-08-11 Thread Angel Manzur
Hi all, Been using Django for a couple of weeks and almost have my app running. I am using a google storage bucket for my static files, that works great. My bucket also has some templates I want to use, how can I add that directory into my templates directories? Should this be done in the set

Show all images per Profile

2019-08-11 Thread Sebastian Jung
Hello, i have a extend User Model like this: class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) telefon = encrypt(models.CharField(max_length=70,default="",null=True)) and a class with documents incl. fotos: class Document(models.Model): profi

Reusable apps that support being nested wihin other apps

2019-08-11 Thread Ryan Causey
Is it possible in Django to reverse URLs within a reusable app such that the reversing will still work if the app is nested with another? It's essentially the same question as this stack overflow question

Re: request for advice

2019-08-11 Thread Gil Obradors
For starting sqlite is enought! And better if you havn t got skills about sysadmin and postgresql Postgresql have more benkmarch, you can search posts in google But is not good idea buy a bus to carry 2 people. ( my opinion ) El dg., 11 d’ag. 2019, 18:51, ajoeiam va escriure: > Greetings > >

Re: Is Django + (detailed below) a good fit for this kind of application?

2019-08-11 Thread Gil Obradors
Welcome, With this information, yes! El dg., 11 d’ag. 2019, 18:51, ajoeiam va escriure: > Greetings > > Am beginning the odyssey of not only learning Django but also Python3 > (ain't life interesting - - - - grin). > > Working on an application taht I would like to work something like this: >

Is Django + (detailed below) a good fit for this kind of application?

2019-08-11 Thread ajoeiam
Greetings Am beginning the odyssey of not only learning Django but also Python3 (ain't life interesting - - - - grin). Working on an application taht I would like to work something like this: application uses a not large database of items (maybe a few thousand in total but the user can add i

request for advice

2019-08-11 Thread ajoeiam
Greetings Just beginning the odyssey of learning not only Django but also Python (3) for use in construction a web application. (Working on Debian testing but may be moving to stable if necessary.) Looking for advice on the application framework. Application proposed design is like this: app

Storing credentials in the DB

2019-08-11 Thread Lance Haig
Hi, I want to allow users to add credentials to th site that allow us to pull details ffrom anothr site into our environment. This will mean that their credentials will need to be useable by a regular process that will fetch the data but it is stored securely. I was thinking about using the

Re: Tutorial Problems...

2019-08-11 Thread Mike Dewhirst
On 11/08/2019 3:25 am, aman kumar wrote:  hello... While using field type null ... what is difference between "Empty string" and Null=True i.e null ..value for "no data"  in string based field...? Empty string is "" Django likes to convert str=None (ie no value) into an empty strin

Re: Settings error

2019-08-11 Thread Mike Dewhirst
On 10/08/2019 2:03 pm, IRONMAN YT wrote: when i am typing pip, it is listing some and saying "_/*Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environm