Farruh Zoirov
Farruh Zoirov
if a front end developer is needed I may help
Doragonsureiyā
if a front end developer is needed I may help
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Siddharth
best frontend framework to use with django ? - React -Tailwind -Bootstrap -You tell me
Doragonsureiyā
best frontend framework to use with django ? - React -Tailwind -Bootstrap -You tell me
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so delete your question here and move to the @PythonOfftopic group and ask there.
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'
Maxim
I like Vue js for its simplicity
https://t.me/django/262978
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?
I’m
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?
class FirstTable(models.Model): nr_idk = models.CharField(max_length=10) class SecondTable(models.Model): nr_idk = models.CharField(max_length=10) class ThirdTable(models.Model): first = models.ForeignKey(FirstTable) second = model.ForeignKey(SecondTable)
I’m
like this?
Mahesh
Does anyone have django notes please share
Doragonsureiyā
Does anyone have django notes please share
Check out @PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
I’m
Do you want two model to share the same ForeignKey?
I’m
or that they 'connect' to each other with a ForeignKey?
I’m
but... why would you want to do that?
Rahaf
but... why would you want to do that?
I created a third tables and I want to link it to them.
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
Harshith
https://github.com/llSiddharthll/File-Sharing-App/tree/main Like this ?
Through this can we send file from one user to other within the application
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
Siddharth
Through this can we send file from one user to other within the application
Not like that, but it creates link which can be accessible by other users to download
Harshith
If you don't explain your difficulties noone can help you
In that i need help woth part2 apart from search
Siddharth
can u help me with my requirements
Idk, depends on your project and my knowledge level
Harshith
Idk, depends on your project and my knowledge level
Yes i think u could help would u read the requirements of the project once
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
Muflone
Nooo i'll do mine Muflone .... U just do yours thank u
You haven't asked anything else apart help Help with what? Develop the code and tell people what is causing you difficulties. 'help' alone means nothing
Harshith
You haven't asked anything else apart help Help with what? Develop the code and tell people what is causing you difficulties. 'help' alone means nothing
Oh my bad i just need a theoretical explaination on how to implement some functionalities that's it no need of code
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
What do you mean ?
forms.imagefield(upload_to="")
Siddharth
Or use models
Siddharth
Or I can use views to get data
Д.....
Or I can use views to get data
thanks, I'm gonna also try this method
Artem
What is more correct for the Boolean variable “is_only_without_code” or “without_code_only"?
Artem
maybe just without_code ?
Maybe. The context is to select only those devices that do not have a code
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')
Manikanta
And why don' t do as the error says?
yeah...... im tried but it's not working if you have any other solution let me know
Charly
Unless you want to change the lenght of the field
Charly
And it should work anyways
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)
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.
DeathLikeSilence
So you exceeded your quota. That has nothing to do with Django.
Thank you 🙏🏻 But Do you know how can I use Openai in my django project? I don't want to pay, I need it to be free
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
Doragonsureiyā
Can anyone guide me how to start learning django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Mohammad
Can anyone guide me how to start learning django
First Learn python Next html and css Next you can watch a course
umarxon
What kind of polling did you use?
webhook, i found the issue, pythonanywhere uses only one thread, but i needed at least two for it to be working
Mihail
You might want to set the bot on your computer for testing and then deploy all the service to somewhere not for free