Yemam
Why you can't?
soryy for my typing I mean I can't
Charly
Yemam
it says there is no path or file called manage.py
Charly
it says there is no path or file called manage.py
you need to run it in the directorye where is located your manage.py
EFK$$$
it says there is no path or file called manage.py
You need to write cd( name of the app) in your terminal the run it
𝒮𝒽𝒶𝓏
Anyone How to integrate a live video of YouTube on Django?
Charly
Anyone How to integrate a live video of YouTube on Django?
Using the embed codes from youtube on your template
Я R
Can anyone help me with hosting a django project?
hehehehahaha
I want to create a login sign up page using firebase please help me how to do that
Doragonsureiyā
Can anyone help me with hosting a django project?
No one can help you until you explain your difficulties.
𝒮𝒽𝒶𝓏
Using the embed codes from youtube on your template
Do we have any tutorial or some dummy project i tried doing but it's not happening as expected Any help would be appreciated
𝒮𝒽𝒶𝓏
Tutorial to copy and paste the embeded code?
I mean how to do it exactly There might be some steps or a process
𝒮𝒽𝒶𝓏
I need a live video and not the one which is uploaded
Anubhav
can anyone help me in django allauth when using Custom provider?
John
how to custome readonly_fieds in DjangoAdmin depend on addform or changeform
@ranger
###Can anyone here recommend good material to start Django? Preferably a video guide. ### I remember someone recommending some YouTube links. I couldn't locate it. Please reshare the link
Doragonsureiyā
###Can anyone here recommend good material to start Django? Preferably a video guide. ### I remember someone recommending some YouTube links. I couldn't locate it. Please reshare the link
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
@ranger
use telegram message search
I tried but it seems the message is deleted
@ranger
Thanks
Krushna
Hi, I've been trying to run makemigrations & migrate in Gitlab CICD but the thing is in makemigrations addition/deletion of table are visible but on migrate I'm getting "No migrations to apply". I have used app name too but no gain. Note: I have also added migrations folder to .gitignore as I was getting errors and currently using makemigrations and migrate commands manually. Do we have a permanent fix for migrations? If yes please share. Here is the url of my gitlab-ci.yml and deploy.sh sample files https://pastebin.com/fAhHh28Y
Azin
Hey guys can anyone help me I want to show data from database in web by using django channels could you please help how can I do this?
Krushna
Krushna
you may try python instead of ptyhon3
No result with python. Any other suggestion?
Nasib
Hello guys , I have Dns_probe_finished_nxdomain issue on django project and it was working 3 days ago I think its about dns ,How can I fix and where ,thanks
Manoj
Can I get Django course for free
Doragonsureiyā
Can I get Django course for free
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Рy
I am trying to update an object, but it keeps on telling me the email already exists, which would be okay if I was creating a new object but in this case I want to update the existing object. Any help?
....
I know django render template using web application but how to use Rest API concepts please explain any one or reference any videos or documents?
.
I am trying to update an object, but it keeps on telling me the email already exists, which would be okay if I was creating a new object but in this case I want to update the existing object. Any help?
It would be helpful if you explained 1. How you’re trying to do that update 2. What constraints and validations you’ve put on the email field 3. What kind of error was raised and how was it displayed My guess is perhaps you have a unique validation on the email field somewhere that’s preventing the updating process, because it found itself already uses that email. If that is the case, you should modify the updating process to avoid checking against its own self. Something like if Model.objects.filter(email=email).exclude(pk=instance.pk).exists(), raise ValidationError The key is to exclude its own self (instance).
Anonymous
Anyone can help me with ?
Anonymous
Def profile(request,pk)
Doragonsureiyā
Anyone can help me with ?
No one can help you until you explain your difficulties.
Ali
You don't need pk
Ali
use request.user
Anonymous
i ll show you later bro
Anonymous
First i should try
Ali
i ll show you later bro
explain your plan
Neha
I have created signup page after that in views.py i have mentioned return redirect ('signup') so once user will click on submit page will redirect to sign-in page but page is not redirecting instead page is refreshing can anyone help me with that how to redirect page
Vicky
can some body tell me why my nested serializer is not working
Doragonsureiyā
can some body tell me why my nested serializer is not working
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)
Vicky
my nested serializer is not working
Vicky
Somebody tell me how to implement nested serializer when we are using foriegn key
Harshil
I am beginning djagno so what is the best sources for me to learning django??
Doragonsureiyā
I am beginning djagno so what is the best sources for me to learning django??
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Jugurtha
hello, what's best way to avoid circular imports in DRF serializers
Jugurtha
what if you don't have really choice on design pattern
Charly
what if you don't have really choice on design pattern
Itś not a bout design patterns, but just design your code to not be breakable by circular imports
Jugurtha
yes i know what you mean
cj
what if you don't have really choice on design pattern
talk to the PM/TL about that to solve that problem, because that's really a big problem and need to be solved ASAP
cj
besides that, it's not really a Django nor DRF related issue ¯\_(ツ)_/¯
Jugurtha
yes ik, it a python problem
Jugurtha
and sometimes, modifying the architecture is not always a solution
Jugurtha
i wanted to try lazy_import
Jugurtha
but didn't reallly work for me
.
i wanted to try lazy_import
Have you tried putting import statements within methods where you want to use it? Just throwing a workaround idea
cj
yes ik, it a python problem
it's neither a python problem, actually
Uchqun
Assalamu Alaikum, I got this error while configuring postgresql for django app: django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (permission denied for schema public LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA... ^ ) for some reason the migration is not possible. Thanks in advance for the reply
Uchqun
As the error says, your database usar has nopermissions
I ran these commands: GRANT ALL PRIVILEGES ON DATABASE <myproject> TO <myproject_user>; GRANT ALL PRIVILEGES ON SCHEMA public TO <myproject_user>; but it was no use.
Charly
Maybe you are using a different user or different db
Shivam
I am geeting some error while installing requirements in python. Can anyone help me ?