George
In forms.py define def init() function
did you event read the snippet?
Ghorz
Prepolupate the form
George
George
i mean, there is no problem now, i forgot the reason why i did it that way
Ghorz
did you event read the snippet?
He wants the I'd in form field. All he has to do is prepopulate the form field using init function in the form class
Ghorz
Okay
Ghorz
I coded that back when I developed an online banking system. I had to retrieve users account in send money form
Mirco
👍
Anyway grappelli is cool and if u want try to implement your own widget and make a PR so other devs will thank you for taking away their headaches
Anders (izzno / gooood) 🇳🇴
I'd have to try it on a project with actual content to see. Hard to judge with one test model 😉
Anonymous
What second language do you recommend learning? I was thinking of Kotlin for mobile, Go to work along with Python with something that requires more speed and processing or some other language that makes it think more logically (probably another paradigm)
ozan
Can ı use flask or django for blog project ?
Mendel
Can ı use flask or django for blog project ?
Check out Corey Schafer on YouTube, he did both
dynamic
Any here uses Jira extensively with GitHub?
Ronald
Can ı use flask or django for blog project ?
django if you want to build your own full system with authentication etc. Flask if you simply want to read your posts from your database.
Ronald
on the side note, for my personal site, I built an API in django with a markdown editor and then I pull my blog posts to my static site using VueJS.
Ronald
that way I can keep my blog posts seperate from my personal site, which allows me to go wild on my personal site and not having to worry about losing my blog posts.
Harshiv
Anyone got any ideas on this topic? I gotta make a wizard in django admin. Like the clients can fill up fields of one model in django admin and the save it. And it will take them to the next one.
Anonymous
Can ı use flask or django for blog project ?
I create my blog using Django. Both are good for this case, but flask is best to learn.
Anonymous
Also i like linux programs
Anonymous
İs flask has got a admin panel??
I dont know, i Just read some chapters of a book. But If you need more things read to use, go with Django
Anonymous
Sorry for my bad english
Isaías
What to use for continuous integration with django?
Jimmies San
What to use for continuous integration with django?
it depends: if you use gitlab as a git repository, you can use gitlab for all ci/cd process
Jimmies San
if bitbucket: change it. bitbucket shit :D
Jimmies San
or use tools "indipendent" from repo: like drone, spinnaker, jenkins and so on
Isaías
OK thank you
Anders (izzno / gooood) 🇳🇴
If anyone cought my note question, I landed on: https://standardnotes.org/
Anders (izzno / gooood) 🇳🇴
Yes, except everything else...
Anders (izzno / gooood) 🇳🇴
Look at the extensions / encryption and access to the webapp code.
cj
interesting
Modou-dev
hello I need to implement a chatbot in my web site ? any suggeting for what chatbot plateforme I must use
Patricia Franco
Hi! I need to implement multiples formset in same template. Anyone can help me?
Rammy
Any Nigerian here???
Rajjix
Hi! I need to implement multiples formset in same template. Anyone can help me?
I was just reading about this in the docs this morning, they really go in detail about it and best practices on using it, even with ajax.
Rajjix
Any Nigerian here???
Isn’t CEO a better phrase than Head admin? 🤷‍♂️
Rajjix
But u can’t be the head admin if you’re the only admin 👨‍💼
Anonymous
hello
Anonymous
there is anyway to add fingerprint as register way in webapp
Ghorz
can can I update OneToOneField Model I have: class User(auth.models.User, auth.models.PermissionsMixin): class Profile(models.Model): user = models.OneToOneField('auth.User', on_delete=models.CASCADE) how can I update the two in one UpdateView class
Rajjix
u update one model and use a post_save signal to update the second model.
Anders (izzno / gooood) 🇳🇴
Do you guys call your base "base" and your app "projectname" or how do you separate your projectname from commin in the way of your app name ?
Juan José
hi, I have a simple question, How do you name your database in singular or plural?
Juan José
thanks
Ghorz
thanks
E.g Class Book(x.x): In admin it will show Books
Rammy
@iFlare3G @c0x6A Why don't we work together monthly as a group
Rammy
Like group projects
Rammy
It will help we beginners
Mirco
@iFlare3G @c0x6A Why don't we work together monthly as a group
What kind of project ? The problem is the time 'cause lots of us have to work
Anonymous
hi everyone i need help i am using the forms and i need to show the password field as *** in side the template
Anonymous
thanks bro
Mirco
Yw 😀
Rammy
or project ideas
Mirco
Not bad idea, make a poll and see what democracy choose 😀
Rammy
Since you are leader here
Rammy
admin*
cj
you make the poll
you can make it, no need to be admin
cj
admin*
if you want it, you have the permission to make the poll
ⓦⓐⓢⓓⓚⓘⓛⓛⓔⓡ
Did anyone try peer to peer file sharing using django channels?