Yes
Hi guys I need help, python 3 is compatible with Centos 7 ?
Yes
I just asking because it is impossible to deploy my django project
Aneesh
Yes
I mean .. the step when I check mydomain.com:8000 running server ... but when I try to setup with Apache nothing show me... mydomain.com without port
Wang
Slava
Friends, colleagues, Hello everyone!
Question.
The site has several pages. Each page has several sections. It is necessary that the customer can edit these sections via Django admin panel.
The most logical thing that comes to my mind is that each page has its own application. Is this accepted among developers?
And maybe someone has experience, or ideas, how to implement this and make it in a proper way?
Many thanks in advance!)
Anonymous
I have a question...
how does pre_save function work....
an example would be really appreciated
there is nothing in the docs
Mehmet
Isaías
Hi
Isaías
how add status code extra in swagger django rest
Isaías
?
Abdullah
hi guys.can i use ajax response in django template?if yes how?thanks now
R.U.S.H.A.B.H
I'm updating data through 2 different function in view.py ... I'm confused how to update the data of model with html... Please anyone can help me?
R.U.S.H.A.B.H
Anyone who has updated data with python forms please solve
Winkee
Hi I am new to web design, I have one problem. After I finished editing my .html, how I can view the effect in browser? I mean, how I can make the browser auto reload?
ɱσσɳ
Abdullah
Abdullah
Abdullah
thanks guy.i hear django rest framework but newer i interestin this.so i can this with rest framework?
Abdullah
(sorry my broken english)
ɱσσɳ
Anonymous
isa
Hello,
I try to use "django-filter" Below is my code.
https://hastebin.com/nenurumipi.bash
Below error occured when I try to use "as_p"
https://hastebin.com/jinuzeliki.bash
Can you help me please ?
Abdullah
Abdullah
Abdullah
Abdullah
filternesnesi.as_p seklinde denedinizmi?
isa
hayır cunku form olarak gelsın ıstıyorum
isa
o zaman form olarak gelmez
isa
ama bır denerım
Sahil
Can anybody help me in my django project data is not submitting
Sahil
https://github.com/sahilsao/Centralised-Management-System-Django-master
Shubham
Hi all
Shubham
def get(self, request, *args, **kwargs):
qs = UpdateModel.objects.all()
print(qs)
json_data = qs.serialize()
print("json_data")
print(json_data)
return HttpResponse(json_data, content_type='application/json')
Shubham
in this print(json_data) giving None
Shubham
why so?
Shubham
print(qs) outputting properly
Anonymous
Use values
Anonymous
Or values_list
Sahil
Ok thxxx i will this
Shubham
okay
Shubham
it worked thanks
Tiny
anybody help me. i tried updating a record 'first last' but 'first' was only retrieved in text field.. how to retrieve complete record ??
Tiny
inside the textfield*
Bunty chhatri wala..
Tiny
its a crud app. i saved a record. eg: 'first last' . when i tried to update that record it does not retrieve record completely 'first' was only retrieved in textbox
Bunty chhatri wala..
Tiny
input field
Tiny
anybody ??
Bunty chhatri wala..
input field
In that field ..
value= {{xyz.title}}
here xyz is the context you passing through views
Aman
How to solve module error in visual studio ??
Aman
Module not found error ??
Doragonsureiyā
Module not found error ??
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results
Tiny
Bunty chhatri wala..
Tiny
views :
Tiny
template
Vaibhav
If any one having some resources on making a rest api please share
Jai
Darth✧
Helo everyone, In django channels, can I use form as input in consumers?
Anonymous
Hello guys how can ı translate djangoo messages ???
Nazar
Hello, I want to make SPA (React+Django)
what is the best practise to organize a project ?
I see that the most of tutorials start from (1.frontend 2.backend)
but the final code on github is not, they separate every django app, and put it together with forntend folder as another app
As I understand, good practise is to implement MVC, but were is business logic (model) and were are controllers ?
Mirco
Nazar
As I understand, good practise is to implement MVC, but were is business logic (model) and were are controllers ?
Nazar
in API
Nazar
thank you
Nazar
but one question left, where to implement business logic, after i get request from Client, and get data from DB, where to implement all calculations?
Nazar
I have seen Serializers, Models, and Views
As I understand, nothing of them is the right place for this
Nazar
I will rely on this
Nazar
thank you