Amir
hi guys when i deploy django app to heroku this give me command "heroku logs —tail" after this command brauser give me Method not allowed
could you help me guys
Mirco
def delete(...) and your code
e.g.
def delete(self, request, pk, format=None):
your code
return Response(status=status.HTTP_204_NO_CONTENT)
sunshine
I need to implement login via Google, Twitter and Facebook using DRF. How can I implement this? I'm trying a few days and I cannot implement this. Many tutoriais don't work for me!
Vikash
Yusuf
Hi guys
How can I run a cloned Django project from GitHub?
I have tried a lot (beginner)
Maxim
Alexander
Hello.sorry, i didn't notice that it is English speaking group.I have a problem, please help.My get request takes near to 30 seconds after 20 or 25 clicks.So, i don't have any throttling setups in settings.py and I don't have any idea of how to solve this problem
Alexander
django toolbar shows me no doubled queries.everything works fast until the 20th(or 25th) get-request
Alex
whami
Abhishek
anyone have all ORM queries
Abhishek
i mean about ORM queries
Charly
Abhishek
ook thanks sir
govind
Am laravel developer
govind
Now am starting DRF WITH react
govind
Please give me some tips for developing backend with DRF
govind
I want to develop from scratch
govind
Please refer me any articles
govind
With examples
govind
Can i use DRF without predefined admin dashboard
Doragonsureiyā
govind
govind
What are the topics i want to cover
govind
Give me any roadmap
Doragonsureiyā
Give me any roadmap
These single steps will help you a lot:
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 first results
Aashish
Django programming error realtion ss_ss doesn't exist...... After deployment on heroku any idea
Nurus
Hello, Can I change the superuser password with manage.py shell?
Doragonsureiyā
Nurus
Doragonsureiyā
How
These single steps will help you a lot:
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 first results
Nana
I need help
Nana
I tried to migrate
Doragonsureiyā
I need help
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)
Dark Angel
Please read the error. In your settings.py file os module isn't imported.
Nana
oh ok
salar
nothing just import os
Nana
Dullah
Hey Guys.
How can i get the exact string value from an instance in a database.
For example i have a database with teams, and i can access the team with {{ score.team }} and will return the name of the team, like “team212”
How can i access the string “team212” and set an image with an if statement.
I tried {{ if score.team == “team212” }}, but it didn’t work
Dullah
Correction
{% if score.team == “team212” %}
Code
how to share code in this group?
Mirco
Doragonsureiyā
how to share code in this group?
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Amit
I have a question, how to create digitally signature in pdf file using python
Maxim
Dadakhon
Hello. Can anyone help me please? I am stuck on this. How can i set the default value for ManyToManyField on Django Models?
Dadakhon
At least 1 default Value
Alex
Dadakhon
class Filters(models.Model):
name = models.CharField(unique=True, max_length=200)
date_added = models.DateTimeField(auto_now_add=True)
class Meta:
ordering = ['-date_added', ]
def str(self):
return self.name
def get_first_model1():
return Filters.objects.all()[:1].get()
class CountryFood(models.Model):
name = models.CharField(max_length=200)
filter_by = models.ManyToManyField(Filters, related_name='filter_foods', default=get_first_model1, )
Dadakhon
This code is not working
Alex
Amit
Alex
Dadakhon
Alex
Doragonsureiyā
Viktor
Anyone know how to make multiple files upload in DRF? 🙏
Maxim
Dadakhon
Please help me With Default Value, its not reacting to defaul
Alex
Alex
i will suggest handling default in form instead of this way
Dadakhon
Dadakhon
default=Filters.objects.first()
raise ValueError( ValueError: Cannot serialize: <Filters: Dessert> There are some values Django cannot serialize into migration files.
Alex