Mohd Zaid
and what abput this through parameter here
Mohd Zaid
Mohd Zaid
𝕲ü𝖎𝖕𝖊
HI friends. Is posible importa db model inside a blueprint??
Mohd Zaid
val = models.CharField("Value", max_length=200)
Mohd Zaid
Santhosh
Hai folks,
I am having problems validating the model fields. Someone explain to me how to use Regex Validators on models or forms.
Salad
I think good Django app starts with the models.
Does anyone have a link to some detailed info on how to go about creating Django models?
Mayank
While changing on model and executing command on cmd( python manage.py makemigrations) it gives no change why this happend anyone explain please
Lucas
hi, try makemigration myapp
Lucas
change 'myapp' to the name of your application
Madhav
Hi I am clicking next button after enter details in form
Madhav
If I click back button filled data getting lost , how can I get same data available after click on back button
ADI
Boi
I'm making face detection project in django using opencv their face classifiers but when i run my server the file path error is occuring ''(-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'' this means cascade classifier path is wrong but the thing is when i create seprate directory and put those xml file the program is running fine
Boi
and detecting my faces as well
#!/bin/sh Inَactive
Madhav
user
Anyway to enter values in other websites input using requests_html
Not strings but variables
V
Hello Django Team, I need your help to solve issues related to cashback point/Reward points based on payment to get....using django rest framework....I have still doubt about these...please help to solve the problem
Thank you...
Roman
Hi everyone. Recommend me some django-projects for practice and portfolio or, maybe, sites with lists of projects, because I don't have ideas. Thanks a lot.
user
user
I made it using django in 3 days and its just my 2nd project so noob here😁
Roman
Angry Uncle
Hello everyone! Tell me please. There are two models, Product, and Price. From the side of the Price there is a connection with the product, many to one. The product also has a Type property. I don’t understand how to create an easy way to get all the products, and each product has its price attached to the specified type?
MARK
Hello everyone
MARK
Need to insert record in table which should be the last ! Please help
MARK
Using Django, postgresql
Carlos🇻🇪
A simple Create will append new records as last
MARK
Record present at any position randomly..
Carlos🇻🇪
SOrry maybe I've misunderstanding your problem. If you insert a new record then the id filed isn't the more great?
Carlos🇻🇪
Oh, thisis Postgres, show the last inserted as first, if you like ordered for insertion try
SELECT * FROM tablename ORDER BY id;
MARK
Need to insert record at last and fetch id of last one..
MARK
Carlos🇻🇪
None to thanks, I've knock my head in this problem when I start using Postgres. Is a feature of PG that other DB Engine doesn't have (default sort by insertion date) ;)
MARK
Anonymous
Guys, what's the difference between render, redirect, reverse_lazy
Fakhrullo
so I deployed my django app to heroku, I referenced "migrate " to Procfile and it's doing the job but when I try to create SuperUser it's saying there's 46 unapplied migrations
Fakhrullo
how can I fix that?
Vasilii
hello, have somebody done this: https://easy-thumbnails.readthedocs.io/en/latest/ref/processors/#custom-processors? I mean custom processor. Can u share your solution with me?
Nitin
expected css(css-rparentexpected) [97,64] error .....how to resolve this
Hunde
I have objects.all()[:number] in view.py how can iterate number variable in view?
Hunde
how to iterate on number in view.py
Anonymous
How can i use react.js with django?
Doragonsureiyā
How can i use react.js with django?
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
Mostafa
Kent
Which is the best channel on YouTube to learn django from?
Vasilii
does django easy_thumbnails, when using thumbnail processors or/and thumbnail options, If it's something like this:
THUMBNAIL_DEFAULT_OPTIONS = {
'crop': 'smart',
'upscale': True,
'size': (250, 250),
'quality': 60,
'autocrop': True
}
Will it crop it when saving image, or it will be cropped only when rendering
RXRX
and that will be your first project
William
how to iterate on number in view.py
You cant iterate a number in python. Convert integer to string then iterate it. While using that number after iteration convert it to an integer.
AFK
Manish
Hiii
Can we create login api using DRF without any auth process
Doragonsureiyā
cj
Manish
Manish
Manish
Manish
Here the user table is different
NGOUGNI
Arezoo
I use confirmation email .but I have problem.in this method i save user then send verification email.
But if user don't activate his email .then want to register .because I use raise_expection as true .then he get email has been registered in database.how can I handle this issue?
Vasilii
can I compress django-filer's FilerImageField on save?
Anonymous
Any body have idea about mock test in python .
Doragonsureiyā
Anonymous
Yes
Can you give me mock syntax for signup api .
Doragonsureiyā
Can you give me mock syntax for signup api .
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
Nayan
Nayan
I want to plot real-time graph, please anyone can guide me how to achieve it ?
Ali
Guys, what is the best approach to keep API views and Template views in Django? Making a separate app called "API" or keeping all views together in the views.py file? There is another approach that creates a directory within the main app called views/ which includes views/api.py and views/visual.py and simply removes the traditional views.py. Which is better?? And why??
Thanks.
Ali