elioni
and then to use the same username
elioni
not change the username too
Sai
An upstream server can be configured with a set of backends.
Exactly I have configured one server already.
أمجد☄
I want to restrict @/_/-/+/. In my usercreationform inherited from django, so how can this restriction be done ?
ಶಶಾಂಕ್
I actually wanted popup lists so front department used js am not understanding any one suggestion
ಶಶಾಂಕ್
Any one
ಶಶಾಂಕ್
Actually am fetching table and want to display field
ಶಶಾಂಕ್
In that field list want pop up
Mirco
In that field list want pop up
What frontend library are u using ?
ಶಶಾಂಕ್
Node.js
Mirco
Node js
Not framework, I mean library like bootstrap and similar
Mirco
If u are using one
Mirco
Bootstrap
And what are u doing with nodejs ?
ಶಶಾಂಕ್
And what are u doing with nodejs ?
I don't know front end team used
Mirco
I don't know front end team used
Ok so why do you need to play with frontend if you are in backend team ?
Mirco
I don't know how to connect
You just serve data then frontend team should take your data and put in a popup
Mirco
Or am I misunderstanding ?
ಶಶಾಂಕ್
Or am I misunderstanding ?
Ok I will clarify soon
Mirco
Ok I will clarify soon
😁😁 good
أمجد☄
Using RegexValidator on your field
And how can i extend my user model and add a regex validator ?
Shekhar
Hi @pyflare i did the checkbox using jquery and I got a new problem when it comes to pagination😂
Mirco
And how can i extend my user model and add a regex validator ?
For extending user, read on official docs 😁
Root
django.db.utils.ProgrammingError: column "product_name_id" does not exist I'm using postgresql... getting that error, can't find solution online.. Help please
Root
just deleted the db and migrated again. now it's fine. Thanks.
Андрей
Ok
Mirco
just deleted the db and migrated again. now it's fine. Thanks.
You could delete migrations, make and run again before destroying the entire db
Root
You could delete migrations, make and run again before destroying the entire db
i did that but didn't work, so, Thanks for answer 😊
Андрей
I think you can search something like "django migrations initial fake/initial zero" for fixing your future problems
Ильдар
Hello All. I have a problem. I want see to page MultiSelect with list BSC, and TextArea. But I see MultiSelect with "nameofModel object (69)". I need help , please. My code : https://pastebin.com/dkXw53zE
Anonymous
How did that not raise an error
Ильдар
fields is a list not a dict fields= ["bsclist", "bcxu"]
I don't understand, I read official docs for models, first example in docs for multiselect field. I write code as in example
Anonymous
EnterForm inside the Meta class field is a list not a dictionary
Ильдар
Delete this row?
Anonymous
Delete this row?
Here look at BookForm in the full example
Anonymous
Here look at BookForm in the full example
https://docs.djangoproject.com/en/2.2/topics/forms/modelforms/#a-full-example
Ильдар
Ok, thanks
Ильдар
Oh, yes i need use [ instead {
Ильдар
I don't know, I haven't tried yet
Ильдар
https://i.ibb.co/99nbMPC/image.png
Ильдар
Is it fixed ?
it is not fixed for me😔
Anonymous
In your forms.py Change class EnterForm(ModelForm) INTO class EnterForm(forms.ModelForm) make sure to import django.forms
Anonymous
Make sure you check all your imports
Ильдар
https://pastebin.com/DrWTJZB6
Anonymous
Oh im so stupid all you need is to add str representation
Anonymous
Here https://pastebin.com/fXj6qYxa
Anonymous
Lakshya
I want to start my career in website development with python suggests me course
Lakshya
Path
Lakshya
Or material
Doragonsureiyā
Or material
Check out PythonRes, a channel for Python resources (links to help you out).
Ильдар
Here https://pastebin.com/fXj6qYxa
Muhammad thanks a lot, i'm don't trying now. I use str before, and i saw only "bsc1", may be before i write choices_list = ((...),). Now i'm writing choices_list =[(...),]
Anonymous
Muhammad thanks a lot, i'm don't trying now. I use str before, and i saw only "bsc1", may be before i write choices_list = ((...),). Now i'm writing choices_list =[(...),]
No problem try again tomorrow your code is working fine I'm running it right now, just create more rows, (model objects) with different listbox than "bsc1", sometimes all you need is a fresh eye
Akash
2
Can someone explain the PostgreSQL connection limit I am getting very confused with this. I have right now 30 applications running some are django apps some are normal python scripts. Each of them connect to postgresql database. Now when I check my pg stats I see its consuming near to 80 connections. So will I not be able to run more apps after I add another 18 apps / scripts?
Anonymous
Can I use FileField instead of ImageField to display images?
Anonymous
I have been trying display images with FileField but to no avail.
Андрей
I have been trying display images with FileField but to no avail.
I think yes, because you can download your image/file from link in your admin page filefield
Anonymous
I am going to try it.
Андрей
But, firstly you have to change your settings with media _root
Андрей
https://stackoverflow.com/a/16302860
Андрей
It must be useful
Андрей
But you have to use this method only on your developer machine
Андрей
For prod server, you have to use nginx/apache
Anonymous
Thank you very much!