Anonymous
While I was trying to use sorl. Thumbnail in my index.html file
deadspy
.js
Using Ajax how to send textarea value to views.py and get other value from views.py to .js?
Anonymous
I'm having problem using sorl.thumbnail to view images in my html template
Yash
👑 King👑
How do I send an email template after user signup? I have it in the forms.py after user signup they get the email but I need it as an template how can I do that
Bunty chhatri wala..
http://pastebin.com/Nj4MPXSd
Here's my model..
I want to retrieve all the sub images linked to the object.
Bunty chhatri wala..
Using Id of that object
Bunty chhatri wala..
Anonymous
I've a small doubt. Could anyone personal message me?
Doragonsureiyā
I've a small doubt. Could anyone personal message me?
Please 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 a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
deadspy
Curious
I'm planning to build a project using django and react. I want to build as Web application as well as android application so can someone guide me how to begin
Anonymous
Anonymous
Okay! What do you know so far!
Anonymous
What I mean is, do you know python or JavaScript and if yes how well.
Anonymous
Curious
I can rate myself in python 8/10 and javascript 6/10
Anonymous
Okay! That’s good enough
Jamil
Hey guys, do you need PIL to use imagefield within your model, or can you do it without
Gaurav
Can someone please help me with dynamic urls routing in django and reverse urls
Jun
Can we directly send a customer receipt to their WhatsApp generated from python Tkinter application?
Omkar
Ashreet you need to learn django rest framework
Curious
Yes I'm learning it omkar
Omkar
ok nice
Omkar
learn flutter as well
Omkar
that might a best one rather than react and other stuff
Arun Pandiyan
How do we update one entry in existing row. Using django rest framework and serializers, viewsets.
Gives me an IntegrityError: UNIQUE constraint failed: table.id
Omkar
@apandiyan check the model first
Omkar
It depends upon the model you've
Arun Pandiyan
Omkar Thanks. I made custom save function from super. I removed and it is working fine.
Omkar
Bunty chhatri wala..
portfolioImages.objects.get(id=id)
Using this i want all the subimages linked to this object.
Bunty chhatri wala..
http://pastebin.com/Nj4MPXSd
portfolioImages.objects.get(id=id)
Using this i want all the subimages linked to this object.
rizen
Florencio
I had an error executing a migration. Can I just delete the migration file generated with makemigrations or should I do something else to rollback?
Darth✧
Florencio
migrate has not executed this failed migration, just the file has been created
Florencio
But i dont know if makemigrations know that it has created that migration and I will have problems if I delete it
Darth✧
Антон
Hi everyone, can someone help me with babel?
I have got an error and don't know what should i do....
Jamil
Anonymous
how to show related post via category in Python Django
OneZer0
Hello, I have the following problem ... Due to the infrastructure provided by the contract, I will not be allowed to write a file in the application container. For this reason the architecture team decided that I should save the file as a binary and retrieve the file in a database.
The procedure works very well when I consume through the application itself, however I found it difficult to recover the file through the other api ue that will consume the file.
So I thought of creating a url for each file, making the download available when making the request for the other api, but I'm not finding ways to generate these urls, is this possible through Django? did I think wrongly? is there any method i could apply to the consumption of these files?
Dcruz
Anonymous
👑 King👑
Shubham
hello guys im new with ORM, how to write a query to 'get a menuitem name at lunch on monday'? https://dpaste.org/6sNX#L21
Wannabe
Shubham
dont we have to use select_related?
Anurag
anyone here used APScheduler in django projects
Anurag
APSScheduler*
Alvi
guys.. i have project on heroku using posgresql, but i still developing it on local for update using sqlite...
when i create a new models and migrate it on local with sqlite. it works, but when i push it on heroku and do the migration. its detect no changes... but the models is appear in the admin page. when i click on the models it show this error.. thank you...
Alvi
relation "transaction_bank_transaction" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "transaction_bank_transact...
Shubham
?
Shihasz
Anonymous
how to maintain a queue with python dict and number to maintain a queue to check when the interned
Anonymous
from n queues and each queue would contain list. and i need to assign a number to the items of that list
Anonymous
hope i make sense
Anonymous
Hi, greetings.
I wanted to create a form that I can have control over in terms of styling, I used class based view Create View but the edit.
Which is working but the problem I’m having now is that the form doesn’t respond when I click the button to create a form. It doesn’t even give error or refresh.
I thought maybe is caused because of form_valid(), which I created but still same thing, I also created the get_absolute_url() But is still not working.
Anonymous
How to used customize jwt token?
Doragonsureiyā
How to used customize jwt token?
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
RS
RS
pls help me to resolve this error
Bunty chhatri wala..
I'm iterating a image like this.
{%for ig in obj.images_set.all%}
{{Ig.img.url}}
{%endfor%}
How to give a line break after every image?
Anonymous
Bunty chhatri wala..
Bunty chhatri wala..
A br tag is helpful..but not working..maybe because of iterating.thats why i asked here
Yatin
Can anyone help me on How to retrieve the entire information of the contenttype?
deadspy
i want to send a string or dict back to ajax from views how can i do it.?
Pedro Fumero
Hello, I'm beginner with django. I would like to know something: django have session variables? Like $_SESSION on PHP or similar?
Dambe
Dambe
You can use the request.session within a view