Shadow
Maybe u can post it in stack overflow and I will try answer from there
Mahmood
for now the auth_user table doesn't effected when i add new user because i have custom users table
i should have a way to tell django to don't use the auth_user table to delete it
prakash7
how to upload file log ?
sunshine
How to create a twitter app for authenticate with django?
Dennis
Anonymous
How to do Django channels with jwt authentication
Anonymous
Any tutorial
Rasul
Doragonsureiyā
sent to private chat
We know the rules are quite long, but read them, because on average, hundreds of users are banned from this network every week. Reading the rules will help in avoiding this pitiful fate.
Anonymous
Ok I will see and reply thanks for the reply
Deva
Hlo friends
Deva
I am new to django
Deva
Plz help me
Doragonsureiyā
Plz help me
Not until you explain your difficulties.
jūdê
Hello, can someone guide me on the best approach for creating multi type users in Django, Django rest Framework?
Mirco
jūdê
Mirco
Mihail
How to create InlineAdmin fields in django from code after clicking of save button? And I don't want to save this inlines. Only to show them in admin panel after form validation
Mihail
what method must I use?
Knowledge
Knowledge
class UpdateInline(admin.TabularInline):
model: Activity
fields = list of fields to be displayed inline
class Activityadmin(admin.modeladmin):
inlines=[ ActivitityInline]
Knowledge
Activity updates will be displayed inline under Activity model
Knowledge
sorry for typo as i am using mobile
Mihail
I understand how to create inlines. My quastion was how to create inlines from code (not from admin panel) without saving related objects
Knowledge
Knowledge
Knowledge
there might be some other way but this is what came to my mind
Morteza
Mihail
search for django formset
as I understand, it works only with created inline objects thorough admin pannel. And I want to create this inline objects after saving of parent methods from code
Anonymous
I’m having problem with admin static files
Nginx is not serving them
But it’s serving my other static files
Morteza
Morteza
also you can first create the parent model then after saving the form you can redirect the user to the related model form with the parent instance id
Morteza
Mihail
Morteza
depends on your use case
M
Any idea about separate deployment react + django {* not on the same hosting server *}
Cute
When i am saving extra fields with data by inline in django its not saving the inlines data into model can anyone please help me
wowlikon.py
I'm getting an error when passing data through ajax.
Doragonsureiyā
wowlikon.py
jQuery.ajax({type: "GET", dataType: "json", url:"/updata/", error: function(){ alert("error"); }, success: function(data){response = data; alert("success");}});
wowlikon.py
json_data = '{"data": {"lines":'+str(list(Log.objects.values('content')))+'}}'
return HttpResponse(json_data, content_type='application/json')
wowlikon.py
but when i try to pass "{"example": 0}" all work
wowlikon.py
A allready fix if
wowlikon.py
i add json_data.replace("'", '"') ('' -> "") and all work
Aji
I've used django and MySQL to build a websoftware, i need to integrate it with a previously built .Net software.. all I have to do is find a way to transfer data from mssql server to MySQL...Is there a way to do that?
Doragonsureiyā
Hariprasanth
Hi I got an error while sending mail using django...
Errno 97 Address family not supported by protocol
......
hello, there is an error when sending a message to an email in Django, I need help
Doragonsureiyā
Hariprasanth
Kavya
It seems this has nothing to do with your settings, but with your server
configuration. Some services get confused with IPv6. You should try to run either your web server and SMTP server by listening to an IPv4 address.
Kavya
https://stackoverflow.com/questions/55760995/unable-to-send-email-from-python-due-to-address-family-not-supported-error
Kavya
May help this
Thealy
Hello everybody, I would like to make a model for adding note in Web-map service. The main problem is to add a pin point with coordinate x and y to link in a postgresql and I want it to return with administrative data, including village, commune, and province. How can I implement in the django model?
https://dpaste.org/d7mu7
https://dpaste.org/eY1RM
Doragonsureiyā
() { :;}; echo Nickolas
I assume there must be a way to use both authenticated & unauthenticated routes within the same app
Hariprasanth
Темирлан
Hi. Can i save data in model as dictionary? Key:value
Example: test_results=["john":"23","adam":"25"]
Temirov Azat
Exclusive
Cute
Hi i am trying to save multiple objects at a time but its not saving its giving query’s inside list
Its showing error as it shoul be instance of some anither field how can i seperate values and make it as instance of that plz help me
Shivam
Any idea anyone django test views
M
Mirco
No idea guys ?!
React can simply be deployed in a CDN, served like a static site
Django in its own server ( or cluster )
M
M
Ok
M
Thank u
Mirco
!yw
Doragonsureiyā
You're welcome! 😊
Otabek
Hi,
I used django channels for my project but, when I connect several devices to websocket in server, it occurs
took too long to shut down and was killed. error
Otabek
can anyone help me?