Anonymous
then how to render in html
S
Can someone help?
S
Already satisfied all the requirements
Anonymous
i want total view count in my blog article page do you have any code or something
Aaa you are talking about view in its own meaning, not django view
S
I'm not a pro in django but I think You need to create a model and save the value to that model. Use forms to render in html
S
Already checked
What error you're getting
S
Basically the site is not showing the images I want to render
S
It's showing : Not found: /media/
S
In settings.py did you set media_url and media_root
S
Yup
Luciano
Hello, can you suggest a good plugin to make automatic backups(database and media)? Thanks!
Michael
http://whitenoise.evans.io/en/stable/django.html read this well, make sure your settings are configured as stated in this link.
Thanks man ...I figured it out I had referenced some files that doesn't exist I Appreciate your efforts👍
Doragonsureiyā
Hello, can you suggest a good plugin to make automatic backups(database and media)? Thanks!
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Doragonsureiyā
Exception Value: Could not parse the remainder: '(1)' from 'roll(1)'
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you. Include details such as libraries, platform, modules, etc. and also show your code using any pasting service.
Holla
DoestNotExist: User matching quey doesnt exisit When ever i try user = User.objects.get(username='admin')
Holla
460 online none is replaying
Adonis
there is no such user then
Holla
there is no such user then
Shouldnt the user to be admin
Holla
there is no such user then
Ma bad sorry i changed the username 😩
Anonymous
[OFF] Where i can get some donations to buy a used monitor and basic gpu to work? I'm building a PC and not have more money. I have health problems and searching Jobs since in the start of 2019. in Brazil everything is expensive. with about 100 USD i can easily buy a used HD monitor and a card like gt 710, just to display the video, as my CPU does not have integrated graphics.
Ghorz
You can even develop with your phone
Rajesh
https://imgur.com/a/bjnVQSN
Ghorz
help me solve
The decorator you passed isn't working as expected. Did you write custom decorator
Rajesh
yes
Rajesh
but i think i write correctly
Anonymous
hello guys i am new to django does anybody has documentation of it?
Kronos
Django has Official Documentation..
Kronos
And there is also a offline version.. (pdf)
Kronos
https://docs.djangoproject.com/en/3.0/intro/
Anonymous
tysm steve
Kronos
Np
satish
Remote internship at AAIC Technology Pvt Ltd. Stipend ₹25000 We are happy to announce the Internship for Software Development Engineer in our organization. To Apply Click Here Interviewprep.appliedcourse.com Below are the details for the Internship test. Date of Internship test: 12th July 2020 Mode of test: Online written test Number of Positions: 16 Stipend: INR 25000 Timing: 11 A.M to 11:30 A.M Click here to know More About Internship Here are some key guidelines and Imp dates : Date of Internship test: 12th July 2020 Total number of questions will be 20 MCQ/fill in the blanks with multiple options being correct in MCQs. Total Marks: 40. Each question carries 2 marks. 0.5 marks will be deducted for incorrect answers. Negative marks will be awarded for partially correct answers also. Duration of the exam(s): 30 mins. First round results will be published on July 15th for Software Development We will reach out to candidates on their email to schedule the second round which consists of video-interviews. Note :Potential chance to convert into full time offer with salary range 6 LPA to 7.5 LPA. During internship period We will share PPO based on performance.
saran
Hey guys.. I have passed a list a = [[1,2],[3,4]] to a template. I tried {{i.0}} but not working. Getting values if I use {{i}}. I would like to get it has 1-2 3-4 likewise.
saran
Where I went wrong any idea? Is the usage is correct?
kancharla
Can we use *authenticate()* for verifying user credentials stored in our own MySql DB
The anonymous
Hey guys i am getting noreversematch error on url
The anonymous
What i want is that when i perform login if either username or password wrong, I have to show that on another page whatbis wrong, with change in url
The anonymous
So in login view i call that loginerror view and pass data to it
The anonymous
But it gives error
The anonymous
NoReverseMatch
Abrar
need to look at code
Abrar
use a paste bin and send the link here
Rakesh
Hi Friends, I have data in pivot table using pandas, I want to plot the graph to webpage. How can I achieve this, please suggest 🙏🙏
Doragonsureiyā
Hi Friends, I have data in pivot table using pandas, I want to plot the graph to webpage. How can I achieve this, please suggest 🙏🙏
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Najmiddin
what is this error . help me KeyError at /en/ 'Unknown language code uz.' Request Method: GET Request URL: http://127.0.0.1:8000/en/ Django Version: 2.1.15 Exception Type: KeyError Exception Value: 'Unknown language code uz.' Exception Location: C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\translation\__init__.py in get_language_info, line 252 Python Executable: C:\Users\User\AppData\Local\Programs\Python\Python38\python.exe Python Version: 3.8.3 Python Path: ['d:\\web_developer\\python_\\homework\\django', 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip', 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38\\DLLs', 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38', 'C:\\Users\\User\\AppData\\Roaming\\Python\\Python38\\site-packages', 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages']
~near
post.objects.filter(created_time_lte=timezone.now()).order_by('created_time')
~near
This query is giving fielderror don't know why
Please someone guide im beginner in Django
Paschaljet
Using int:id and slug which is safer?
Paschaljet
Slug is SEO friendly.
I don't understand
Harish
Search in Google for significance, advantages of slug in urls.
Paschaljet
Okay bro...but is id hackable?
Muflone
Okay bro...but is id hackable?
are you really asking if a number is hackable?
Ghorz
Okay bro...but is id hackable?
Most of you all waste time on things not important, you've not even developed something useful.
Ghorz
Get to work build something, learn from it, organise yourself
Ghorz
With time your experience builds up
Muflone
Yea
non-sense question
Paschaljet
rude but thats actually what is needed here
Maybe rude or not we were once learners, in other professions I might be more exposed than you. So he's just being verbose ...
sudoku
What are the best Django organisation for gsoc
sudoku
??
snc
Maybe rude or not we were once learners, in other professions I might be more exposed than you. So he's just being verbose ...
but i will definitely want you to be like this... when i will be lucky enough to learn from you 👑