Anonymous
Anonymous
What is the need of using admin ?
cj
Anonymous
cj
Anonymous
Can you suggest a document where I can have more clear details about it
Anonymous
Because I am really confuse
cj
☝🏻 there
Anonymous
☝🏻 there
Thank you very much 🙏🏿
Anonymous
Chandan
Matheus
Hi everyone. I have a question about jinja2, django templates and static JS files.
I'm working on a open-source project that aims to facilitate the creation of AR artworks for artists, and it is made purely with python in django and jinja, with static javascript files, and for my next issue, me and my partner were tasked with simplifying an image convert and upload service, that is currently separated into two screens. To do that, we understood that we needed to edit the jinja2 file that works as the upload screen, but we have run into a problem. We need to import two static js files into this one jinja2 file so that we can put their two processes into one page only, but jinja2 is not having it.
I know that to import a js file into the jinja file, I can simply do:
<script src="/static/js/example.js">
And when i do tried to load two files, we did this:
<script src="/static/js/example.js">
<script src="/static/js/example2.js">
But jinja only loads the first file. I searched a lot on the web, but all the examples are using HTML and not Jinja, and have not found a working solution so far, and would like to request help here.
(the files cited here are not real, they're just an example of what we tried to do. I read on the rules that a big message would be best for this kind of question, so forgive me if I understood wrong)
Khumoyun
Hello guys, I am using django-crispy-form for my form in templates/form.html
Questin: using crispy form is secure ?
Mirco
Mirco
And you need to include the csrf token
Khumoyun
Mirco
Fabian
what is the best way to do crone jobs in django?
5P34R
Which is best place to host a django ecom project
5P34R
With less cost
Shivam
Heroku
Shivam
Suyog
Heroku
Is it good for serious websites?
Shivam
Yes
Shivam
Enough
Suyog
Thanks for helping
Abdulvoxid Dadamirzayev
hey guys.... I have an issue like:
Abdulvoxid Dadamirzayev
ValueError at /blog/5/share/
The view blog.views.post_share didn't return an HttpResponse object. It returned None instead.
Abdulvoxid Dadamirzayev
what should i do
Root
Prashant
Any one has a project in Django(any type) so I can learn from there...
M
jyoti
Hey guys
jyoti
Does anyone have ever used memcached on django??
jyoti
Please reply soon
Yyyyyy
Can we use python 3.9 in django web framework latest version 3.1.2
Yyyyyy
Can any help me
Pallèň Mandola
Yo
Mirco
Move to @python
Neo
Anonymous
hi
Anonymous
I am facing one issue while upgrading django version from 2.2 to 3.1. I have successfully created migrations, but when I am trying to migrate, it shows the following message. I have bee trying to solve this part since 2 days.
Anonymous
Operations to perform:
Apply all migrations: admin, auth, content, personal, official
Running migrations:
No migrations to apply.
Anonymous
but some my migration already migrated, the issue is with some of the migration files.
Anonymous
How can I solve this one. I tried deletion and creation of new migrations.
Ghorz
Anonymous
Anonymous
THANK YOU.. IT WORKED!
Pradyum
how to make a field_name variable for example I need to search a table column now I want that column need to be changed automatically so
Pradyum
Table.objects.filter('{}'='search_this').format(variable_column)
Pradyum
I know this is bad programming but any how to do it?
Giuseppe
Hi guys, In my django app In the views.py, I create a some folders in media/appname/username/. In my computer all works fine. But in server production, sometimes the folders are created sometimes not. How can I to resolve?
Zokir
Giuseppe
Zokir
بــارون
Heroku problem 😭😭😭
Mirco
Jokes apart, explain your issue otherwise no one will help u
بــارون
Giuseppe
👍👍
nothing doesn't work
Mirco
Doragonsureiyā
Help me. He l. P. Meee
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
بــارون
Mirco
Mirco
How do you think we can help u if you just say Heroku problem ?
Ghorz
Giuseppe
what's the default log of gunicorn?
Anonymous
Ans
Prashant
i will clone the project from git hub but when i tried to install any package its will show error like this
Daniya
I am following corey schafer blog playlist when i make Profile model to upload user profile it work perfectly but when i run this code user.profile it says user has no attribute named profile?
Dosanz
Alex
Arash
Hi everyone
If I learn Django, can I design backend of a very good website? Do I need to learn other things or is this Django enough?
Alex