Dima Mayfeed
Hello, how i can do multiple upload images in base ?
ask
Shakthi
Saddam
Hlo good morning everyone
Saddam
I want fetch records between time.is the possible?
Saddam
If anybody knows please share me the code
Doragonsureiyā
Saddam
How to get records between time? For example time1 12:30 and time2 is 2:30 ... User given time is 1:00 I want to check user given time is in between or not
Saddam
How to do explain me?
Saddam
I didn't understand
kichu
Hello
Doragonsureiyā
Hello
Please move your "Hello" and other social talk to @PythonOfftopic.
Samprita
Hello everyone... I am trying to reduce the time of loading for APIs.... I have already used chache method... Any suggestions?
Дмитрий Борисов
Д
Samprita
Thank you for suggestions!!! 😁
Samprita
Дмитрий Борисов
Samprita
Yes yes 😅😂
Нормуродов
Hello everybody
Where can i get a Python Backend Developer ROADMAP, in order to learn things with the order ?
ky
<div class="form-group col-md-3 mb-0">
{{ form.accounttype|as_crispy_field }}
<div class="{% if form.accounttype.errors %} invalid{% endif %}">
{% if error in form.accounttype.errors %}
<p class="help-block">{{ error }}</p>
{% endif %}
</div>
</div>
ky
need to display only name
ky
this is select option
ky
this display code and name
ky
like C - Customer
ky
need to display only CUSTOMER
ky
accounttype = models.ForeignKey(LookUp,limit_choices_to={'keyname': 'AccountType'},related_name='OperationsTypes_accounttype', blank=True, null=True, on_delete=models.PROTECT, verbose_name=_("Account Type"))
Alexandr
Hi all need help! How i can convert list with dickt in list or str? I have now [{'яйца, шт': 2, 'молоко, л': 0.1, 'соль, ч.л.': 0.5}]
Harry gorilla
db.sqlite3 file should also be in the .gitignore file right? I don't see any reasons why i should import my database on github
🌀
. I want to submit data from page1.html file to database after click submit from page2.html
. I am using django
. How can I??
Harry gorilla
Harry gorilla
Thanks
Д
I always delete the full database and all the migrations when I CAN
Д
but if there's data in there already that can't be deleted, then migrations have to be used
Harry gorilla
And is it possible to revert back to previous commits from git locally?
Andrej
Is it a good combination to use Django on top of Kubernetes?
Has someone best practice experience?
Д
Harry gorilla
Prathmesh
How to create worker modal in authentication and authorization in django admin ??
Shubham
How to create login page in django
Hey It's
Does anyone have experiance, how to upload Image DRF (in my case it's avatar for profile user), using the library (gravar maybe or smth?)
Ulug'bek | Python Developer
Hi guys. I was working with rest-auth at Django rest freamwork. the password reset part did not work. path from stackowerflow path (r '^', include ('django.contrib.auth.urls')), I learned to add this path. The situation in the picture is changing when you enter the email address provided. no space is provided to update the password. how to fix it. Please help if you know. My YouTube and Google didn't help either
Альберт
Hi Django Human
Doragonsureiyā
Hi Django Human
Please move your "Hello" and other social talk to @PythonOfftopic.
Д
Shubham
In django how to create login form
Shubham
With all views,model and template
Hoper
Cat
Hello Folks,
I am using celery in my Django project. Celery runs the task daily automatically.
Does any one knows how to notify/send email when celery is stopped.
Алексей
Hello everyone, can you recommend some tool for profiling and load testing a django application?
Дмитрий Борисов
Axror
Hi guys.
Who did postgresql connect to django on aws server. Pls, help me.
Prosto
Ulug'bek | Python Developer
Д
Ulug'bek | Python Developer
Ulug'bek | Python Developer
Антон
Hi there!
I use django+mongodb in project and have data with leading whitespaces, that make sorting with OrderingFilter incorrect
Does someone have any idea?
For more information, I have created the topic on stackoverflow:
https://stackoverflow.com/questions/71665200/how-to-trim-strip-leading-whitespaces-from-stringfield-for-list-view-in-django-m
Shabbir
How can I make a Progressive Web App with django??
Doragonsureiyā
How can I make a Progressive Web App with django??
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
Yury
Is there a library to generate django models code and possibly DRF controllers from OpenAPI spec, NOT the spec from the code?
Googling gives the opposite.
Д
Yury
I think about this workflow:
1. Design an API
2. Create mockups and verify interfaces between front-end and back-end devs
3. Generate service code, which, in turn, can generate the same documentation.
4. Work with code: implement logic and so on.
Documentation stays maintainable, because it's now a part of code. The initial documentation serves as the point where you're to design, not implement. And we all know that design comes first, are we? 😉
Д
Д
there is also lost the whole idea of TDD or BDD if you start creating code from the specs like that.
Д
if you want to design the API first, okay, but then you can write tests first. don't let some dumb automation create classes you don't want.
Yury
But I can generate relations between models by using models inside spec. And yes, you're right about the simplicity of initial result, still it looks like a starting point for a backend app when you have an API as an input.