Amen
Or install xampp
waad
Hi, please how can I use Another language in Django ?
Mirco
Hi, please how can I use Another language in Django ?
Set the language into the settings file
Alex
Hi, please how can I use Another language in Django ?
https://docs.djangoproject.com/en/3.0/topics/i18n/translation/
Anonymous
hi my friends, how to make a user for join in a gruops,example a user want join to write's group
i hate milk
how can i customize the 404 error page? when i override the handler404 nothing changes
cj
how can i customize the 404 error page? when i override the handler404 nothing changes
yes you can, read the documentation, it's very well explained there
Maz
No, pls, write me the code, I beg you
Prepare yourself for the barrage of insults coming your way...🤣
SuperN00b
No, pls, write me the code, I beg you
Wtf u should read the docs and do it yourself , if u got some issues, people may help u, no one have duty to write code like abc for u
Cesar
No, pls, write me the code, I beg you
We help for free. What you want is to work for you. There are many places to look for freelancers. Go hire some.
raven
No, pls, write me the code, I beg you
just put 404.html in your templates
Cristhian
Hello guys
Cristhian
I have a error with import path from django.urls
Cristhian
Help me please
Cristhian
My Django is updated
Cesar
My Django is updated
Post your pip freeze
Cristhian
asgiref==3.2.3 Django==3.0.2 pytz==2019.3 sqlparse==0.3.0 virtualenv==16.7.9
Cesar
Uhmm weird... Are you sure you are in that env. While running your program?
Cristhian
yeah
Cristhian
I am following Mozilla's tutorial to the letter
Cristhian
I fix this reinstalling Django
Anonymous
hi friend, can anyone help me? I tried it all day: (( https://stackoverflow.com/questions/59925370/how-to-call-a-value-list-with-variables-in-for-range-django
Anonymous
Looking for recommendations on how to install python 3 on windows server 2012. I cant seem to be able to run it. It only runs 2.7
krishna
Has any done django- oscars project.pl help me
Doragonsureiyā
Has any done django- oscars project.pl help 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 51k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Damron
Hi! Can someone describe when we should use DRF or simple view in Django? I mean, what is the main idea of DRF?
Damron
Have you read their doc at least?
yes, but I am still not sure about it - this is just easier way to send necessary data to client using Serialization?
Alex
In general, its idea is to be a layer between your app and .. some one else. Like your frontend in a browser. Or maybe you use someone's API then you could map its entities to your own.
Prosto
Hello dears! I have a little begginer problem. I need 2 dates in my models - Start date and Date_expired(Start_date + 1 month) How can I make it working from models.py?
Prosto
is it possible?
Damron
DRF is much much bigger than just that
oh, speech is about data from DB you mean? so this is less complicated way to get entities we want without extra data?
Damron
there is one way I can offer you - use signals from django, presave
Damron
DRF is much much bigger than just that
Will I be right if say that using AJAX and DRF is a good practice? While page is loading I'll be getting some necessary data or even load additional data like when user is scrolling page down to see new information - for example when is viewing news
Damron
thank you(спасибо)
u're welcome(рад что помог)
Alex
And yes, you can use it that way
Alex
But as I said, it covers much more than just that.
Damron
But as I said, it covers much more than just that.
I think I get it. Simply put - to remotely get access to data
Damron
But in this case I've got one more question) I am really interested in using django-channels. So can I use DRF and channels together?
Cesar
What? I did not used any links 🧐
Prosto
Is there a possibility for you to change your date_expired?
Of course, but i wanted to make in models.py, its seems its impossible to make it like that
Cesar
Of course, but i wanted to make in models.py, its seems its impossible to make it like that
Well in that case, go with signals. Check the pre_save signal
inchidi
you can check out python decouple, nice package for this thingy
maroong
How do I get the styles to work properly for django bootstrap 3?
maroong
The pagination appears as a vertical list.
Cesar
The pagination appears as a vertical list.
That non related to Django, there must be a problem in your CSS/HTML
maroong
That non related to Django, there must be a problem in your CSS/HTML
I just followed the documentation for django-pagination library exactly
Macurrent
tutorial_published = models.DateTimeField( "date published", default=datetime.now()) This is a field in my models.py. Why does tutorial_published appear in my admin site instead date published appears
Zaryab
Guyz how can I store a list in Django models
cj
Guyz how can I store a list in Django models
use an ArrayField 🤷🏻‍♂️
Anonymous
Hello. How can i create the abstract class for all error pages? I mean, in this abstract class i need to get the status code, but request.status_code always returns 200 even in case of an error
Anonymous
I want to reduce the number of lines of code by creating a parent class for all errors. https://pastebin.com/E21BgNhc
Anonymous
but this does not work because ErrorPage404 must getting request and exception. so, can i get status code in the class? maybe there are other solutions?