ford
!search
Is this account a bot or something?
Doragonsureiyā
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you. Include details such as libraries, platform, modules, etc. and also show your code using any pasting service.
Samuel
Hello everyone I have me trying to pip install django on my website and I keep receiving error messages
Kronos
Look into manytomanyfield
What about a Foreign Key from Author to Article?
Abel
guys whats the best DBMS for Django ??
Abel
Postgresql
what about mysql?
Abel
is there a difference?
Abel
or limit?
Kronos
Yes
Hello world
Hello guys i want to make video streaming website using django
Hello world
can anyone know how to make ?
Hello world
any tutorial or help
Abel
Yes
for example how many tables can i create in postgresql
Volvo
What about a Foreign Key from Author to Article?
You will end up setting two foreign keys then One in user model and other is article
Kronos
for example how many tables can i create in postgresql
There are no limit to number of tables..
Volvo
One article can have many authors and one author can have many articles A manytomanyfield
Volvo
According to what was asked
Doragonsureiyā
is there a difference?
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 firsts results
Abel
There are no limit to number of tables..
what about rows per table 🙃
Simon
Look into manytomanyfield
Is using manytomanyfield better idea than using another foreign key to User with a related_name?
Volvo
I amswered according to what was needed
Doragonsureiyā
Hello guys i want to make video streaming website using 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 firsts results
Simon
Foreignkey is onetomany field
Yeah an user can have multiple posts, but if we make two authors like author1 and author2 both pointing to the User model, is that implementation any better or worse than using manytomanyfield. I am a noob in django so I am just asking this out of curiosity.
Volvo
👍
Volvo
Lookups for foreignkeys are easier compared to manytomanyfield .This is most confusing part of any db at least for me now and again.
Anonymous
How to create user define admin panel in django I don't want to use inbuilt django admin model...how to do this
Volvo
I guess a author will have mutliple articles too .so. manytomany
Anonymous
Okay I will check ig
Anonymous
It*
Volvo
Yeah though generally we won't restrict author to one article😂.
Root
Hey #everyone I need help on django admin I need to customize my django admin for that there is case where I am failing So it is like this suppose I have model whose key has MANYTOMANY FIELD Relationship and I need it to be filtered when when visited user profile on django admin
@@
During installation of Django I was created the virtual environment but when it's time to activate environment it's didn't activate ..gives an error plz help...
Anonymous
Hi, I need to show a message error in django admin. How i do that, help
ford
Hello every so have been working on a django project i want a user to be able to submit a certain form for them to be able to download certain certificate bt b4 that i want the form to be approved by 3 different admin users for him to download...any direction i can follow hope its clear
Doragonsureiyā
Hi, I need to show a message error in django admin. How i do that, help
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Root
Make a model for it
Means just make new model that contains link of certificate and then a key which contains how many admins verified it and if its value =3 then he can download it
Root
One
Ghorz
for example how many tables can i create in postgresql
The best thing for you is to care less about the database, get something up and running first
Anonymous
Hii.. Anyone know how to upload files pdf or image and save it to database
Anonymous
Ghorz
Set upload to in the model file field
Rakesh
Hi, does anyone have any idea how I can plot the interactive graph with matplotlib and django
Rakesh
I have to create graphical dashboard
Rakesh
Please help
Andrej
Hii.. Anyone know how to upload files pdf or image and save it to database
This is a nice tutorial about file upload https://simpleisbetterthancomplex.com/tutorial/2016/08/01/how-to-upload-files-with-django.html
Xavier
Filefeild and form
Don't try ajax
Anonymous
Filefeild and form
I have html form.. I am using models.py
Anonymous
To take pdfs and photos from user and save to a folder to be read by database
Xavier
I have html form.. I am using models.py
Yes give method post and enctype also Cerf certificate in the form
Xavier
And correct input name
Xavier
Then it should work with correct permissions
Joshua
djangoafrica.com
Anonymous
Frnds, how to integrate html template with django code
Anonymous
How to connect html free template in the code
Anonymous
Pls help
Kronos
What do you mean by html free template?
Kronos
Oh .. you must have downloaded some free template?
Anonymous
Yes
Anonymous
For website design project
Kronos
If you download a template , then were is the design part.. it's already done.. right?
Anonymous
Yes
Kronos
You'll have to move all files into static/ and then redirect to the path .. whenever a static file is mentioned in the html
Kronos
Is it just one html file?
Kronos
You'll have to reformat the html to work with django..
Anonymous
👍