Alex
Farruh Zoirov
Farruh Zoirov
if a front end developer is needed I may help
Siddharth
best frontend framework to use with django ?
- React
-Tailwind
-Bootstrap
-You tell me
Segun
hello can someone pls help me with ths error
Segun
hello can someone pls help me with ths error
i deployped my django website on vercel and was successful but anytime i try uploading an image it give me this error:OSError: [Errno 30] Read-only file system: '/var/task/media/category_pics/burger.jpg'
Lucky
Maxim
Rahaf
Hello.. I have a question
How do I make a table that takes Foreign Key from two tables?
But take from the two tables their primary key?
What can I write?
Doragonsureiyā
I’m
like this?
Mahesh
Does anyone have django notes please share
Rahaf
I’m
Do you want two model to share the same ForeignKey?
I’m
or that they 'connect' to each other with a ForeignKey?
Rahaf
I’m
but... why would you want to do that?
I’m
I created a third tables and I want to link it to them.
class ThirdTable(models.Model):
nr_idk = models.CharField(max_length=10)
class FirstTable(models.Model):
third = models.ForeignKey(ThirdTable)
class SecondTable(models.Model):
third = model.ForeignKey(ThirdTable)
like this?
Harshith
Hey friends could u help me with an assignment
We must transfer files from one user to other how could We do this...
Anyone ping me if u knoww
Siddharth
Harshith
### Part 1: User Portal
- Create a user-friendly website with a secure login feature.
- Enable users to upload files effortlessly.
- Implement a feature allowing users to view a list of their uploaded files.
### Part 2: User Interaction
- Develop a search functionality for users to explore and view profiles of their peers.
- Facilitate file-sharing capabilities, empowering users to share their uploaded files with others.
- Enhance the user experience by displaying shared files from fellow users in the "uploaded files" section.
these are the requirements i need help with part2
Harshith
Muflone
Harshith
Muflone
Harshith
Siddharth
Siddharth
Harshith
Siddharth
Try to make yourself, you can ask me the problem if u stuck somewhere
Muflone
I think he means someone would do his job
Harshith
Nooo i'll do mine Muflone .... U just do yours thank u
Harshith
Muflone
Implement file upload per user
Implement on each upload a [list of] shares, each one of them could have multiple recipients
The 3rd point is pretty self-explanatory
Д.....
Hi! I wanna make a form that allows uploading multiple images per POST HTTP method. I already set enctype in my form to "multipart/form-data", my image input contains "multiple" argument (I can see it in browser generated HTML code), my form initialization contains "request.POST and request.FILES" (form=self.form_class(request.POST, request.FILES) ). So normally It should be working but I'm encountering with this form error <ul class="errorlist"><li>image<ul class="errorlist"><li>No file was submitted. Check the encoding type on the form.</li></ul></li></ul>
. Maybe someone knows what's the problem here and can give me the solution ? Thanks !
Siddharth
Д.....
Siddharth
Or use models
Siddharth
Or I can use views to get data
Artem
What is more correct for the Boolean variable “is_only_without_code” or “without_code_only"?
Maxim
Manikanta
I'm trying to connect MySQL in my Django models when I doing a migrate im getting this error anyone know how to fix this error please let me know.
(1118, 'Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs')
Charly
Charly
Charly
Unless you want to change the lenght of the field
Charly
And it should work anyways
Manikanta
Doragonsureiyā
look at that field lengths
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://hastebin.com, https://nekobin.com, https://dpaste.org (or your favorite one)
Manikanta
Ayass
SelectDateWidget in django 5.0 can't order with DATE_FORMAT setting anymore?
DeathLikeSilence
hello everyone
how can I connect my Django project to ChatGPT(openai)
I got the API key word
but I have an error:
openai. error.RatelimitError: you exceeded your current quota, please check your plan and billing details.
Charly
Charly
umarxon
i have a Django webapp and and a telegram bot that are connected via webhook and deployed to pythonanywhere, i have an issue when sending messages to my bot, specifically, the bot doesn't respond when I send messages to it but when i hit reload or make changes in my web application or make request to the website the bot then responds
Alexander
Hello everyone, please advise me, let’s assume there is a task to create a messenger using Django + Channels. Each user can be subscribed to thousands of rooms; rooms can have up to 10k users. On the main screen, the user receives notifications from all rooms - like here, in Telegram, or in Slack. Can someone share their experience - will channels handle such a task conceptually? The scale of one installation is like in Slack, where number of users in the installation is up to 10k (all employees of some organization).
ʀᴇᴢᴀ
why sending photo is not allowed here?😐
SkyLord
Hello. question about management commands, i.e. something that is created in the application folder as "management/commands" and run as "python manage.py <my_command>"
I decided to combine Django with Ayogram. from Django i need an admin panel and ORM, I launch the bot itself as “management commands”, “python manage.py run_bot” and run Dhango as usual “python manage.py runserver”
Question: I run the bot as a separate process, how can I track crashes of this process based on the fact that it is launched as a management command??
Doragonsureiyā
why sending photo is not allowed here?😐
To share code or error tracebacks, use a pasting service, like:
- https://dpaste.org
- https://hastebin.com
- https://nekobin.com
- https://bin.kv2.dev
Sourabh
Can anyone guide me how to start learning django
Mihail
Doragonsureiyā
Mihail
You might want to set the bot on your computer for testing and then deploy all the service to somewhere not for free