Mohd Zaid
and what abput this through parameter here
Mohd Zaid
Maxim
what is the meaning of this Through='Pages'
https://docs.djangoproject.com/en/3.2/ref/models/fields/#django.db.models.ManyToManyField.through
𝕲ü𝖎𝖕𝖊
HI friends. Is posible importa db model inside a blueprint??
Mohd Zaid
val = models.CharField("Value", max_length=200)
Mohd Zaid
val = models.CharField("Value", max_length=200)
here "Value" is a model name or a default value for the Char field??
#!/bin/sh Inَactive
here "Value" is a model name or a default value for the Char field??
verbose_name https://docs.djangoproject.com/en/2.1/ref/models/fields/#verbose-name
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?
Doragonsureiyā
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?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
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
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
a
While changing on model and executing command on cmd( python manage.py makemigrations) it gives no change why this happend anyone explain please
it males migration script if u edit or add new models for apps or admin ,if there is no any modified app or model then it will show that,next if u create model and doeant add to admin register it may also not ahow migrations
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
I made it using django in 3 days and its just my 2nd project so noob here😁
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
MARK
Need to insert record in table which should be the last ! Please help
Record in not inserted at the end of all records in table.. postgresql
Carlos🇻🇪
A simple Create will append new records as last
MARK
A simple Create will append new records as last
Thank you for your suggestion, but it still not working
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..
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) ;)
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?
Doragonsureiyā
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?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
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
Kent
Which is the best channel on YouTube to learn django from?
Doragonsureiyā
Which is the best channel on YouTube to learn django from?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
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
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.
make a website where anyone can post a website project and you do it for free, market it like that first 10 project free and you will get tons of ideas, request because everyone want free websites.
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.
Manish
Hiii Can we create login api using DRF without any auth process
cj
Hiii Can we create login api using DRF without any auth process
login is part of auth process... ¯\_(ツ)_/¯
Manish
No
Thanks
cj
Hiii Can we create login api using DRF without any auth process
what do you really want to do? you can use login() function directly passing a user object... but... why?
Manish
Here the user table is different
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 .
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
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.