cj
it's not recognizing you're using Django, maybe
Name is not blank
@abdulazizAlbidani
It was successfully completed thanks guys.
Ghorz
cj
the last line is telling you what to do 🙄
Rajab
Neo
George
Neo
Вадим
Hi, guys. I need help)) it is the good way to make friends system?
Вадим
I am beginner
inchidi
that should be fine
Вадим
Thanks)
inchidi
Thanks)
https://github.com/revsys/django-friendship/blob/master/friendship/models.py
in case you need complete/more complex example
Вадим
Ooy. Okey, thanks again.
Maz
Wang
Holle everyone.
everyone know markdown is useful.
so i use markdown in my blog of django project.
Wang
but it has a problem, i can apply image by my blog self
Wang
who do know how to fix the problem?
Wang
but it has a problem, i can not apply image by my blog self
BlackPepper
Any good resource for django channel?
Mohamed
https://www.youtube.com/watch?v=RVH05S1qab8&t=7s
Mohamed
Any good resource for django channel?
BlackPepper
Yeah.. Tried that one, but I feel if there is any video tutorial step by step would be great.
Mohamed
https://www.youtube.com/watch?v=Wv5jlmJs2sU&list=PLLRM7ROnmA9EnQmnfTgUzCfzbbnc-oEbZ
Name is not blank
Meaning?
An environment that ease direct communication with an administrator and user.
-
Helllo all. Help s1, pls. I have question, where is better to call clean() method of model for validation. There is case to use it in save() method of model and call full_clean() there. But if I do like it will be called twice in form validation.
#Счастливая❤️
hello all. please, how to deploy django app bj myself on windows server?
Anonymous
How do I perform asychronous tasks in Django for example when users make a call to a certain endpoint, All calls will be asychronous
inchidi
inchidi
-
@Inchidi mmh, Its in model clean(). And I have modelForm that calls it, and in serializer validation I call model.clean()
Вадим
And allow port in settings WiFi box
Вадим
My english so bad and I don’t know, did I understand you correctly
Anonymous
inchidi
All
you can use asgiref for that
inchidi
Вадим
?
Anonymous
Alexander
Hi guys, I've defined a custom user model as recommended by the official docs.
Should I since now ref to the user Model via get_user_model() or settings.AUTH_USER_MODEL?
Вадим
You can use default user model, but you should create profile with onetoone
Вадим
Alexander
Difficult then this
Hello. Yes, I know about the another option (creating a separate Model for storing additional user info).
But I did not unsterstand whan did you mean by "Difficult then this". What is more difficult that what? Thanks 🙂
Вадим
Difficult then create custom user model as for me.
BlackPepper
Alexander
Anonymous
Asgi is not compatible with Gunicorn
Sanjay Krishnan
Has anyone done django datatable server side?
Sanjay Krishnan
How do you configure pagination and extra filtering?
Mirco
cj
Sanjay Krishnan
cj
Can you please share?
Here it's... as simple as that
https://bitbucket.org/c0x6a/django-datatables-paginator/src/master/paginator.py
Sanjay Krishnan
Sanjay Krishnan
Will ping you for any doubts
Nithin
Hey, i beginning a large drf project. I am planning to keep the business logic code in a services.py.
Do you guys usually do this? Should i do it right from beginning or do it later only if necessary? I am a bit worried about over engineering.
Mirco
Nithin
If i am following this structure then i shouldn't use model viewsets rt as they directly interact with the the models?
Mirco
Study as better as u can official docs to build the right structure from the beginning
Nithin
okay. Btw i was following insights from this question's answers as django docs dosent say much on logic separation.
Abdulaziz
cj
Abdulaziz
Third Edition, 2015-05-20 ?
Anonymous
Can someone teach/guide me a proper way to store log in a model 😂 please.
Anonymous
I meant logging (not sign in)
Anders (izzno / gooood) 🇳🇴
oh
Anders (izzno / gooood) 🇳🇴
Then there is no "propper" way.
Anders (izzno / gooood) 🇳🇴
Depends, what do you want to store ?
Anders (izzno / gooood) 🇳🇴
events, lines, text ?
Anders (izzno / gooood) 🇳🇴
(and does it have to be a model)
Anonymous
Errors and success cases of functions
Anonymous
Yea just wanna see it on admin page
Anders (izzno / gooood) 🇳🇴
Then customize the admin to show a text field with the log file reversed.