KeyError for CSRF middleware during processing an exception response

2019-09-11 Thread Most. Runa
Fuck me +8801737940981 -- 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 view this discussion on the web visit https

KeyError for CSRF middleware during processing an exception response

2019-09-11 Thread Timothy Gates
If an exception response occurs during the middleware processing it looks like the CSRF middleware layer can obscure the issue by getting a KeyError exception of its own. The request.META does not contain the CSRF_COOKIE but the response handling seems to assume it has already been set. I get th

Re: Problems with "Class Meta" and " __str__"

2019-09-11 Thread Ezequias Rocha
In your base model write a function like this (if your description field is called 'name'): def __str__(self): return self.name It works for me. PS: Take care of python identation. I don't know if your tabulation is the same you paste here in forum but it placed wrongly could compro

Re: Get authorization and list users in auth via http request

2019-09-11 Thread Ezequias Rocha
Dear Gabriel I have already access to the get method but not the creation service. I will have a creation of thousands of users from another system I am integrating. Would be nice if I have an easy way to create this creation way by loading from a list. Have you any idea how could I perform th

How to inspect MSSQL Database in Django 2.1

2019-09-11 Thread wikils john
I have a large MSSQL server. I am using it now. I am going to use this database in new django project. however, inspectdb TableName > models.py this command isn't performed. How can I fix this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: django-import-export problem with relation of two databases

2019-09-11 Thread Most. Runa
Now i am full sexul mood guys coming my puss kiss On Wed, 11 Sep 2019, 6:51 a.m. ANi, wrote: > Thanks, Jason. > Then another question, actually why I am asking this is because I am using > django-export-import, > I think it is better to have another title. > > This is my router, I've set the for

null value in column “ProjectName_id” violates not-null constraint

2019-09-11 Thread Robb Rodirguez Jr.
Hello need help on null value in column "ProjectName_id" violates not-null constraint, im new to django i want my ProjectName_id (Foreignkey) is the same/equal id that user choose in my majordetails = ProjectNameInviToBid.objects.get(id=sid) please help me... my model views class ProjectNameIn

Django redirect to a view function after selecting an item from dropdown box

2019-09-11 Thread Rudolph Louis Cabeltis
Hello, I am using Forms by Django. And that form has a select box with two options. After a user selected an option. I would like the user to do the function in the django view. Will I be able to do this without using AJAX or Javascript? Thank you. -- You received this message because you are

django-moderation

2019-09-11 Thread Bernhard Schelling
Python 3.6.8 and django-moderation 0.5.0. I'm using moderation on the cms page model. Basic moderation works - but I don't want to moderate the creation of new pages, only the publishing of existing ones. I'm trying to achieve this by overriding is_auto_approve but the method never gets cal

Re: Dblink creation from Oracle 11g to postgres

2019-09-11 Thread Peter Mudoko
Inbox me pet...@gmail.com , Systems developer *ANQAD SYSTEMS LTD * Email *p .mud...@anqad.co.ke * Mobile: *+254 7 <%2B254%20729490486>21449067/+255716282017/+254721491491* *Skype:peter.mudoko15* On Tue, Sep 10, 2019 at 7:54 PM nitin kumar wrote: > Sure, for what we are here. > How