lucifer
The thing is that we were given to choose a open source project and we had to change the backend of the project to django. So we did all the thing but we are facing trouble while logging in user. User is getting logged in but session is not being created. Like when we refresh he logs out.
lucifer
Let me share the views
pranit
I have create one django app using mssql db
pranit
Below is error we are getting on azure when user update any record
DatabaseError at /insertdata_industry
Execution failed on sql: SELECT [Id], [Datayear],[Country] ,[Market],[Currency],[SubcategoryOf],[Category],[Category_type],[Carbonation],[Channel],[Measure],[Data] FROM ie.[dbo].[df_industry_newdata] where [Country]='Algeria'
('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure (0) (SQLExecDirectW)')
unable to rollback
sometimes it's working fine and sometimes it's throwing above error
can anyone pls help me out
lucifer
lucifer
Login view is at 257 linr
Axror
I'm using CustomUserModel, whenever I try to acces it's attribute,
It returns
django.db.models.query_utils.DefferedAttribute object at 0x0000...
How to make get it in human readable format?
Amit
How to fix nested fieldsets in django admin page
Suganesh
Hi Guys, I am developing web application for Analytical Dashboard like (Power BI/Zoho Analytics Tools). In this project User need to import data from datasource like server,local,drive not in Model. Is it Possible in Django-analytical?. Request your suggestion.
Alexey
hey how can i send notifications to telegram via django?
Mirco
Megh
i am getting following error
start with
Exception happened during process
of request from ('127.0.0.1',58451)
end with
ConnectionAbortedError : [winerror 10053] An established connection was aborted by software in your host machine
Megh
please help
xzenon
Shreehari
Hey guys how should my approach for developing APIs be for the below problem.
I will have category and sub category. For each category there will be n number of sub categories. Based of category and sub category, few questions will be asked for the user.
Please help me with this. Iam using python & drf
Shreehari
Please suggest some efficient approach
Anonymous
yes, obviously it changes
Suganesh
Hi Guys, I am developing web application for Analytical Dashboard like (Power BI/Zoho Analytics Tools). In this project User need to import data from datasource like server,local,drive not in Model. Is it Possible in Django-analytical?. Request your suggestion.
Jimmies San
Suganesh
Vxvek
Is there any way to iterate list inside a dictionary??
my code : http://collabedit.com/jgqm4
Jimmies San
Right @JimmySan
so, you can definitely do it because with python you can read/write/whatever files from/to everywhere
Jimmies San
but still you want models, because you need a reference between the app and the file source link
Jimmies San
the data will be not inside the database in this way, but you need a database to keep these references
Jimmies San
@pyflare am i right? fix me if I am saying something wrong 😄
Suganesh
Mirco
Jimmies San
Michael the wolf 🐺
Hi , does mod_wsgi from pip supports both python3.5 and python3.6 ?
Michael the wolf 🐺
The current one ony works with py3.5
Jimmies San
Jimmies San
looks like
Vxvek
In django template can we iterate list inside a dictionary?
Vxvek
my code :
http://collabedit.com/jgqm4
Jimmies San
Vxvek
Value is list of names
Suganesh
Vxvek
That I tryed but it's like name = Roy, Jhone..etc
Age = 36, 42..etc I'm expecting output roy 36 his details after that next person
Mick
How to use wildcard sql search query like " select * from student_table where student_name like "%s%"; " on django project database?
Vxvek
nope, i mean key, value in dic
Sir it's list inside a dictionary, name : listof name, age: list of age..im expecting to get output like each person details
Fazil
Anonymous
Can someone suggested books for DRF?
Anonymous
Suggest*
Shreehari
Vxvek
Vxvek
Wan Fahmi
Hi guys.
I'm wondering if there are tutorial/sample projects for Django that implements offline form submission.
I have seen service worker/PWA, but so far, implementation is about delivering content.
Any help is appreciated.
Anonymous
Hi..
To develop single sign on.
Do we have any approach apart from SAML
Anonymous
Kindly confirm
Devu
Can i add extra field in default USER table?
Anonymous
Doragonsureiyā
Can anyone..
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work.
Have a nice day 😊
0x31c4ae1
Stepan
Hi everyone! I have a trouble with understanding Django / Django REST Framework. I created a transient model (called 'sandbox') which should for a GET /path/url request create non-stored record and return its serialization to user (JSON-object). I chose this way (with Transient model instead of clear JSON Response) because in the plans this model will be identical (inherited) to another one not transient. Could anyone suggest how to implement that (what I need to create with views/viewset and how it use in url_patterns) or throw me a link to docs. Or tell me if I do something wrong.
Naveen
hello guys, I m struck on 1 problem from last 36 hours. My problem is
User submit a imgae via form and redirected to homepage(where all images are displayed). When user clicks on any image it redirects him to image details page..where there are 2 button . 1st button to rotate it clock wise and 2nd button to rotate it anticlockwise.
when user click on any of 2 button then image will perform specific action and will replace the original image with edited image.
Really big thankyou in advance
Anonymous
Creator
I am trying to generate QRcode it generating but not showing any data *How Can I Pass my user input through form in QR code generation??*
Creator
How can I pass Data of input fields in form to Generate A QR code❓❓
Dem
Akash
Akash
Mr. COwO2 Preis
0x31c4ae1
Mr. COwO2 Preis
Mirco
Mirco
h
Ok just wait for few minutes I'll compile all of that in one file and here share the dpaste link, just few minutes.
h
Mirco
Your template is inside account etc etc
The code expects the email template inside registration folder
That it's the default of django-allauth basically on which django-rest-auth is built
Mirco
And as I remember in the documentation is also specified the default location and how to override it
h
Yeah I mean I've overided the serializers which succesfully sends me the email from account etc etc. But email don't contain the context variables so does that mean I have to override the save part of the PasswordResetForm?
I mean in documentation it's mentioned that just override the serializer that will work.
Mirco
Mirco
It must be inside registration folder according to your code and the default one basically