Luis
Oooh I should create the object, then I should use MyObject.myfield.add(foo1, foo2, etc)
Anonymous
I just tried ckeditor
Anonymous
Is is possible to upload image without loging as admin
Anonymous
I'm using custom dashboard
Anonymous
Not default admin panel
Paritosh
So I have successfully built the first version of my web app, thanks to admin. What I want to do now is convert the uploaded image to base64 and then save it to my media/documents folder. any ideas ?
Anders (izzno / gooood) ๐Ÿ‡ณ๐Ÿ‡ด
Anders (izznogooood) 🇳🇴: https://www.humblebundle.com/software/intro-to-code-bundle
Anders (izzno / gooood) ๐Ÿ‡ณ๐Ÿ‡ด
Python games AND html css
Anders (izzno / gooood) ๐Ÿ‡ณ๐Ÿ‡ด
Oooh I should create the object, then I should use MyObject.myfield.add(foo1, foo2, etc)
It's a relationship table with the list of the other objects id's (primary key's) , which you would need to know
Anders (izzno / gooood) ๐Ÿ‡ณ๐Ÿ‡ด
https://stackoverflow.com/questions/6996176/how-to-create-an-object-for-a-django-model-with-a-many-to-many-field
Anders (izzno / gooood) ๐Ÿ‡ณ๐Ÿ‡ด
Old answer, but still valid
Shubham
Hello I'm using restallauth for registration and login
Shubham
How can I customize restallauth register
Shubham
I need to add extra fields in registration form
Lebanese
Please any trick in Ghana
Anonymous
Hey
Anonymous
I know I m at wrong place but..pls answer it.
Anonymous
https://youtu.be/7hLn7cobCkg
Anonymous
Rohan
For the record, it's get low by DJ Snake but what the fuck?
Rohan
You deserve a warn for this.
Rohan
It is'nt😡
It's offtopic
Rohan
Go away
Anonymous
Hii...suggest me an quick way to learn django
cj
Hii...suggest me an quick way to learn django
read the documentation as quick as you can
cj
Cj..
👋
Anonymous
Ck editor worked but some issues with uploading image
Anonymous
👋
I tried to message you personally.. But ended up blocking. Bot 😜😀
Anonymous
I'm using my own dashboard.. Not default admin panel from django
Anonymous
🤣😂
🙊🙊
cj
Ck editor worked but some issues with uploading image
🤷🏻โ€โ™‚ there must be something in the documentation about that
Mohamed
Tried but not for custom admin.
There is YouTube tutorial about that just type django ckeditor
Tommaso
Hi, I am looking for somebody who is using a mysql database connected with django. I would like to know how to write the DATABASE part in settings.py ...
lew
I have this url conf, why when I go to baseurl/play/?name=something gives me error
lew
https://pastebin.com/7dWbmWpG
lew
WHY!!!!!!!!!!??????????
Mirco
What kind of error ? 404 ?
lew
The current path, api/video/play/, didn't match any of these.
lew
my base url is localhost:8000/api/video
Luis
I have this url conf, why when I go to baseurl/play/?name=something gives me error
If you are using request.GET["name"] in your view, then you should remove (?P<name>...) from your url
Luis
my base url is localhost:8000/api/video
Where is "api" in the urls.py you shared?
Mirco
It's wrong use of regex
I agree with this one
Luis
Ok, let me know the full url path to a working page
lew
i'm importing api.video.urls
lew
In the base url file
lew
localhost:8000/api/video/play/something
Luis
Tell me what is the error message, please.
lew
I agree with this one
Why i'm using regex wrong
lew
It's says that url do not match any of the urls
lew
Tell me what is the error message, please.
Luis Angel: It's says that url do not match any of the urls
cj
It's says that url do not match any of the urls
share a screenshot of the yellow screen where all the urls are listed
inchidi
open my email coz i want to fill StackOverflow survey, found that Jetbrains Python Developer survey result already published. enjoy.
inchidi
Mirco
Why i'm using regex wrong
It's strange cause it should be good
inchidi
i think thats pretty normal if we consider many bots and small APIs using flask
inchidi
i mean, of course small web app > big web app (in term of quantity)
lew
I can't share media
lew
don't know why
inchidi
I can't share media
use image sharing service and read pinned message