Seema
Charly
ok :))
So are you going to ask your real question or not?
Parshad
I need a help for how integration push notification with firebase in DRF ? Tag me in the answer..
Charly
Parshad
I have tried fcm_django as well as push notifications but can't work may be i have forgotten some process in integration... :(
Parshad
Charly
Parshad
Notification failure
Samuell
Yes
good morning, how do i do this?
Charly
Sasha
Hi there, fellows.
I am having issues with Simple JWT with my django project. It works fine and sends me tokens when I am doing request through local host, but when I am doing same request on deployed project it doesn't work, after a minute of wait it throws 503 error. Any ideas on how to solve it? Thanks.
Nazim
Alexey
hello. i want typing var "model" in function, what i have to use?
https://linkode.org/#V2KCJYydvhYD36MRFXTrx6
tried from django.db.models import Model, but it dont work
Ravikumar
Hii everyone iam getting this errror in my code Direct assignment to the forward side of a many-to-many set is prohibited. Use tags.set() instead
Alexey
class Laptop_History, but u want to use LaptopHistory. easy
Ravikumar
Direct assignment to the forward side of a many-to-many set is prohibited. Use tags.set() instead
Ravikumar
Ravikumar
i want to copy many-to-many feild from Laptop model to same data into LaptopHistory
Alexey
obj = LaptopHistory.objects.create(
brand = instance.brand,
model = instance.model,
SerialNo = instance.SerialNo,
AdapterSerialNo =instance.AdapterSerialNo,
status = instance.status,
)
obj.tags.set(instance.tags)
Anonymous
Hello
How to make a self post visible only to self with django
Arslan
Hello everyone, I need your help, tell me if it is possible to use UpdateView without a template? I can't find an answer anywhere.
Kritesh
Can some one please tell me how to make phone and otp setup and generate token of that
Tim
Hello evertyone
Tim
can anyone tell me, what am I doing wrong?
Игорь
Guys, hello, i have a question, why i dont have core.socket in my project after running mine django site ?
Kritesh
Tim
Tim
I just need a detailed guide - of how to deploy django project on Ubuntu server
Tim
From scratch
Anonymous
Is it possible to create one and attach another Foreignkey to ManyToManyField?
Charly
Anonymous
What do you exactly mean? Show an example
mainservice = models.ForeignKey(
Mainservices,
related_name="main_ser",
on_delete=models.CASCADE
)
allcounts = models.ForeignKey(
Mainservices,
related_name="allcounts",
on_delete=models.CASCADE
)
Anonymous
class Mainservices(models.Model):
title = models.CharField(max_length=150)
slug = models.SlugField()
created_date=models.DateField(auto_now_add=True)
def str (self) -> str:
return self.title, self.slug
def save(self, *args, **kwargs):
self.slug = slugify(self.title)
super().save(*args, **kwargs)
Charly
Charly
null
Anonymous
Anonymous
def str (self) -> str:
return '{}{}'.format( self.title, self.slug)
Anonymous
Show the error
OperationalError at /admin/emd/addtable/
no such column: addtable.allcounts_id
Hernan
Charly
Anonymous
Anonymous
Charly
No
Then of course it won't work
Hernan
I did migrations
do:
python manage.py makemigrations
Python manage.py migrate
Edgar
how many you exclude some items in a many to many field of an object from showing when the object is queried django and return only the object with the non excluded items in it's many to many field
Anonymous
I want to create m2md in service array and attach one more input to it. then no matter how many services I create, it should give me that input with its ID through m2m
Abai
While integrating paypal to django a blank popup appear it's not redirected to the paypal network.it shows as popup blocked.Anyome faced the issue.please share if anyone knows how to solve it.
Nityananda
How to store jaon data in sqlite server??
Nityananda
No I maen i have data in json format and i have to use it in my django project,then how can I store the data in database?
Charly
alasermohamad94
My laptop system has been updated and django server doesn't work
alasermohamad94
Now is win11
alasermohamad94
Mu project is didn't work need help pls
Charly
alasermohamad94
Need to send error img
alasermohamad94
It seems lib names changed
alasermohamad94
I have deleted ven and reinstall nothing changed
Charly
Ivanko ✙
Hello, I created a login form, authorization, but only the superuser can log in, and other users cannot, although they are active, what could be the error, what did I miss?
Ivanko ✙
cj
https://linkode.org/#KyggNGflzeaGWKSThvWgb6
have you tried using LoginView instead?
Looks like your code does nothing else besides the default LoginView behavior, try that and check if you're still not able to log users, just to discard things
https://docs.djangoproject.com/en/4.1/topics/auth/default/#django.contrib.auth.views.LoginView
Amine
Any one know how to receive postbacks on django rest_framework?
Charly