Re: Code wont let me pull data to modelform from database, :(

2019-08-16 Thread RONAK JAIN
Hey , I think , i am not sure but got it so here you need to develop url from the templates it's mean you are trying your url from tenplate page Right? So , if you are connecting with them i think you need to correction on your url form... Please let me first , i am getting right then, i w

Code wont let me pull data to modelform from database, :(

2019-08-16 Thread Kean
Hi, New to Django, and am really really struggling which something maybe others may find really easy.. I've created a custom database model, and the subsequent modelform template to enable creating a record and storing to database. However I am struggling to create two instances, where the user

Tables in html tag on, won't stack

2019-08-16 Thread Kean
Hi, Ive created a table which returns all my data in my.html template. However, the problem is the second record tags onto the end of the first, instead of wrapping, i.e/ pk Name Surname pk Name Surname 1 John Smith 2Jane Smith instead of/ PKName Surname

Re: Duplicated django_content_type Query

2019-08-16 Thread Simon Charette
Hello there, These queries should be cached by ContentTypeManager[0] so something must be broken in your Django install or monkey patching this method. Simon [0] https://github.com/django/django/blob/7da6a28a447dc0db2a2c6ef31894094eb968f408/django/contrib/contenttypes/models.py#L34-L44 Le ven

Re: Exception value name is not defined

2019-08-16 Thread N'BE SORO
Ok. Thank you Le ven. 16 août 2019 à 11:31, Kean Dumba a écrit : > Hi N’BE, > > The github code you provided worked. > I now see all the records. > > Thank you for the help. > > Best, > > K > > On Thu, 15 Aug 2019 at 22:14, N'BE SORO wrote: > >> https://github.com/Soro08/django_help/blob/maste

Re: Exception value name is not defined

2019-08-16 Thread DANIEL URBANO DE LA RUA
There is not object defined On Thu, 15 Aug 2019, 20:07 Kean Hi, > > I have written the following code in views.py > > def editremovebusiness(request): > data = Businessownercreate.objects.all() > context = { > 'Creator': obj.Creator, > 'Micro_Small_Medium': obj.Micro_Small_Medium, > } > return re

Re: Exception value name is not defined

2019-08-16 Thread Kean Dumba
Hi N’BE, The github code you provided worked. I now see all the records. Thank you for the help. Best, K On Thu, 15 Aug 2019 at 22:14, N'BE SORO wrote: > https://github.com/Soro08/django_help/blob/master/README.md > > Le jeu. 15 août 2019 à 22:54, N'BE SORO a écrit : > >> This is normal in

Re: Uploading multiple files with rest api

2019-08-16 Thread Bhoopesh sisoudiya
Well No problem one solution is that Setp 1. Create form object in JavaScript. Setp 2. Add multiple files in form object. Setp 3. Send this form object in request with method like POST. Setp 4. Iterate each file and save in prefer location. On Fri, Aug 16, 2019, 1:57 PM Suraj Thapa FC wrote: >

Re: Form fill out and review

2019-08-16 Thread Vishnu Chalil
Hai Dojo,' Do you want to enable editing on preview form or just view it and for editing comeback to the same form? On Thursday, August 15, 2019 at 4:46:21 PM UTC+5:30, Django Dojo wrote: > > Hello, > I’m new to Django and I’m looking to do the following steps: > 1. Person fills out a form >

Re: OT: Exceptions in production. Local variables?

2019-08-16 Thread guettli
Am Donnerstag, 15. August 2019 10:36:10 UTC+2 schrieb mohammed habib: > > Definitely Sentry, they will show you the stack trace and a dump of local > variables for every crash, as well as other useful analytics > > It’s pretty easy to set up > > If your site is not so busy they have a free plan

Re: Exception value name is not defined

2019-08-16 Thread Tosin Ayoola
Can u screenshot d error, that will b more explanatory On Aug 15, 2019 19:07, "Kean" wrote: Hi, I have written the following code in views.py def editremovebusiness(request): data = Businessownercreate.objects.all() context = { 'Creator': obj.Creator, 'Micro_Small_Medium': obj.Micro_Small_Med

Uploading multiple files with rest api

2019-08-16 Thread Suraj Thapa FC
I want to upload Multiple files without using models to a specific folder in rest api -- 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...@go