Prabha
Is any web application freelancer here?
Prabha
I want some clarifications so I asked na
Gk
I am getting issue while creating chained dropdown as I am not getting the second dropdown filtered based on first selection of dropdown-
Manish
Help: https://stackoverflow.com/questions/65171249/how-to-check-and-see-if-an-output-contains-the-desired-elements-from-any-list-or
Akhil
I want to make an online airlines reservation using django
Akhil
Have anyone idea what's should I do ??
Surya
Have anyone idea what's should I do ??
You need an api from airlines company
Akhil
You need an api from airlines company
So there is no other way to make project
mukul
I wrote my app in installed apps
Check the format or spelling
Surya
Check the format or spelling
Issue has been fixed
Surya
Nice
the issue is due to the django session. django session configured in installed_apps and issue has been fixed
Peppe😏
Hi, I should send some data from my pc to my django server, w/o uploading files again. EG: I have a pdf, on my local machine I have a python program that extracts some specific infos (name, date and objects bought and pass them to variables). Now I’d like to send this data to my django server (hosted on pythoneverywhere) so that they can be displayed. Any help?
Peppe😏
create a seeder.
This with manage.py but I should do this automatically with python from the “ocr program”
Hamid Reza
Hi everyone, I want to add a Html filed for a blog like website, I want to validate html and prevent XSS attacks and just remove js from that. Is there any libs for this in python or django?!
Sai
create a seeder.
What is seeder or it same as fixtures
Mehran
Save local environment variables: mv env.template .env https://github.com/nerdburn/parrot-api What should I do to run the server?
Controller
You should download it have you done that
𝓐𝓵𝓮𝓴𝓼𝓪𝓷𝓭𝓮𝓻
Hello,can you help me?
Anonymous
Hello please I want to upload my project to github When it uploads to a point it’s tops and says file is empty which is (__init__.py) . How can I resolve this error
Controller
Hello,can you help me?
Say your problem someone might help
Doragonsureiyā
Hello,can you help me?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Patya
How to retrieve and store data into database?
Parsa
Hi, anyone knows what is the ModelBase meta class used for in django? (this link) I think it's for Django to figure out what kind of model we have. for example, it's a the proxy model or abstract model and so on. is it correct?
Klaus
When I run API ,It takes 30secs for 1st output ,but later it takes 2 to 4 secs ....can anyone suggest to improve this issue in Django
Vxvek
I have three models category, subcategories, and product..while I create product I take category and subcategories foregienkey but if there is same name in subcategories and when I create product its create in other subcategories
Vxvek
https://codebunk.com/b/4831100184891/
Parsa
I have three models category, subcategories, and product..while I create product I take category and subcategories foregienkey but if there is same name in subcategories and when I create product its create in other subcategories
You can implement a model for both "Category" and "Sub Category" models. you can create a FK to itself. like this: sub_category = models.ForeignKey("self", some_attrs)
Vxvek
Let me try
M❄️hdi
You know For example shutil How to use it in django Is it just like doing things in a pc Or it is different?
Doragonsureiyā
M❄️hdi
Django is Python, nothing more
So it means everything we can do on a PC we CAN do on the server and accordingly on Django Yes?
M❄️hdi
not exactly "everything"
You mean the algorithm or the implementation would differ?
cj
You mean the algorithm or the implementation would differ?
🙄 I mean: go try to do what you want to do, if it works, good, it works!... if it doesn't work, make a research and find if it works or not, if after you did a very extensive and deep research it doesn't work, well... it doesn't work
cj
example: - Hey, I can make a sandwich with my PC... can I make a sandwich with the server? to find it out, go and try it, you'll learn 2 things: - you'll learn how to do a sandwich with the server or - you'll learn how to make a proper research to make a sandwich and where really to make it (or not to make it and why)
Anonymous
Hello guys ) I have xlsx file in dropbox and i wanna store them in django model with status code. Which best-practice??
cj
I needed a lower level of explanation Someone to say what will go on behind the scene with a small example
you first need to know what you really want to do, then you need to read the link that Doragon sent you about asking smart questions... now move to @PythonOfftopic as your questions are not related to DJANGO at all
Abdulloh
Hi everyone I am going to show all permissions in "available user permissions" in admin area of django But when I use this:
Abdulloh
from django.contrib.auth.models import User dir(User) they are different permissions
Abdulloh
how can i show permissions in "available user permissions" of admin
Nayan
Does anyone know how to get current autoincrement value using django query ?
Nayan
If i delete previous one, it won't help because eveytime i need autoincrement value
Mirco
If i delete previous one, it won't help because eveytime i need autoincrement value
that's how auto increment works, what do u wanna achieve ?
Mirco
to get the current pk you just have to get the object and then log the .pk or .id attribute
Ehsan
hello how i can set search bar on manytomantfield ?
Ehsan
i dont find anything about it
Mirco
hello how i can set search bar on manytomantfield ?
https://stackoverflow.com/questions/16609599/django-search-many-to-many-query
Mirco
it just helps him to understand how to use lookups best practices for M2M is another talk
Ehsan
no on manytomany field in models
Nayan
that's how auto increment works, what do u wanna achieve ?
I want to achive something like this, pal00001,pal00002,pal00003..... Etc
Nayan
using max pk should work
Max pk ?? How to use ?
Jonh
How to config dijango with scrapy?
Anonymous
What is the best tool for rendering pdf with images for django 2.1
Anonymous
I tried weasyprint but i didn't understand the installation process
Anonymous
Hello Please when Im upload my project to Github it loads and gets to a point. And says File is empty.. please how do I fix this
Mirco
Yes
so u can just create a custom field and set it as Primary Key
S
Getting back to learn django after 2 months.. Wish me luck.
𝓐𝓵𝓮𝓴𝓼𝓪𝓷𝓭𝓮𝓻
Hello.Who had work in frelance?
Doragonsureiyā
Hello.Who had work in frelance?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Rahul
Hello guy
Rahul
I need your help
Rahul
Today I need a django api, upload a excel file and remove time from date time and download file as source name