Anonymous
Hello everyone
Anonymous
I want to customize my django admin panel
Anonymous
So please guide me
Mounikesh
https://djangopackages.org/grids/g/admin-interface/
Mounikesh
follow "dont reinvent the wheel"
Django Bot
>> Links
- Django Production Deployment on GCP with Kubernetes
Mounikesh
Django Bot
>> Links
- Guide to using Django with Zappa
Ио иамз
Hi all, i have a question, what is the best websocket package ? Thanks
Anonymous
django channels
Mounikesh
Django Bot
>> Links
- 8. URLs and Views — django-marcador v1.5.0 Tutorial
Mounikesh
I want to get data of Reddit using python requests
request.get("reddit.com/api") something like this
but I don't understand the concept of authorization of a site
for facebook/medium/reddit
do we need to authorize for retrieving data as well, not for posting
did a lot of research on medium facebook as well as Reddit but that is of no use
everything looks messy
it would be helpful for me if someone could share the exact or similar process of getting data from other sites
any kind of help is appreciated
R
Mounikesh
Mounikesh
but for retrieving
Mounikesh
?? i have no idea
R
Do post with authentication, get cookie or whatever and use it in the next get requests
Anonymous
Anonymous
And that's not difficult
Mounikesh
docs arent clear
Anonymous
Programming is messy
Mounikesh
i mean the docs are messy
Anonymous
Share link
Mounikesh
https://www.reddit.com/dev/api/
Anonymous
What do you want to do an what looks confusing in that?
Mounikesh
couldnt find developers domain to create api endpoint and secret key
Mounikesh
inchidi
https://www.reddit.com/dev/api/
there written oauth, means you must acquire authentication token. reddit should provide page for that, it could only ask your reddit username and password, or creating your app for authentication (similar with telegram, line, stackoverflow api), or like some api you need login and provide payment option
Mounikesh
Mounikesh
Anonymous
i need a login from a model
Anonymous
how its work?
Anonymous
can any one suggeste me a login code?
Anonymous
iam new to django
Mounikesh
https://medium.freecodecamp.org/user-authentication-in-django-bae3a387f77d
Ио иамз
iam new to django
There is some examples in the official django website :
https://docs.djangoproject.com/en/2.0/topics/auth/default/
R
Considering trying to set up ELK stack to centralise and visualize a django app logs. Does someome has experience with it or suggest another open source approach?
Django Bot
>> Links
- Django Production Deployment on GCP with Kubernetes
Jimmies San
i need a query like
paid = Invoice.objects.filter(
date__gt=start).filter(
date__lt=end).filter( customer__salesman__user=request.user).filter(
status='paid')
where customer is a fk, salesman is a fk of customer, user is fk of salesman ... doesn't works :D
Chetan
Can we not implement sockets.io in django?
Chetan
UWSGI do not support sockets?
Anonymous
Django channels does
Chetan
Okay
Raad
Hello guys,
I’m planning to move to Django framework and I would like from guys to give books names that I can purchase. Books that from your experience will help you to understand the framework. Also video courses are helpful. If you know a good course or books please share it with me. From my experience not all books are good. Some of these books give you poor examples and follow inappropriate teaching methods which is sometimes confused me.
Raad
The other question is should I move to Django 2.0 or older versions? Is there a big difference between 2.0 and other version?
Jimmies San
Raad
Raad
Thank you again, I appreciate it
Jimmies San
you re welcome. have fun :)
Jimmies San
@PieroRam avoid spam or we will ban you.
Django Bot
>> Links
- The Ultimate Tutorial for Django REST Framework - Part 1 - Blog About Web &
Aamin
Anyone used django-import-export?
Meera
{% if len(article.body) > 50 %}
<p>{{ article.body }} <a href="#">read more</a></p>
{% else %}
<p>{{ article.body }}</p>
{% endif %}
Meera
i just wanted to print read more link if the body has more than 50 chars
Meera
TemplateSyntaxError at /articles/
Could not parse the remainder: '(article.body)' from 'len(article.body)'
Mounikesh
use trunicate
Mounikesh
article.body|truncatechars:50
Mounikesh
this will work
Meera
dint get u
Mounikesh
instead of using if len> 50
Meera
Mounikesh
Meera
Mounikesh
Meera
Anonymous
Hello hello friends, please inform me which is the best Tutorial in YouTube to learn Django
A
Anonymous
Thanks @Almaz
Django Bot
>> Links
- wsvincent/djangox: A framework for launching new Django projects quickly.
Anonymous
Hi any Flask lovers?? I need your suggestions
Klim
Hello all. How can i do import * dynamically like this?
VARIABLE = library
from VARIABLE import *