Django Bot
>> Links - GitHub - alex2/django_logtail: View and live-tail any plaintext logfiles ac
Anonymous
hi, i create custom button in submit_line.html, and my quastion is how can i handle my class from admin.py with the new button details in https://stackoverflow.com/q/49125662/8450248
Abhishek
How can I run a python script of some program from Django page by creating a button to run the code as we click on the button
Django Bot
>> Blogs - Django REST Framework Read & Write Serializers >> Links - Building Progress Bars for the Web with Django and Celery | Build with Djan - The Basics of TDD and Django
Django Bot
>> Blogs - What is the Python Global Interpreter Lock (GIL)? - Two new projects >> Links - How To Install the Django Web Framework on CentOS 7 | DigitalOcean - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation
Luis
Hi guys, i have this code un a FBV and i want use it in CCBV, how can i ?
Luis
# setting the four previously viewed recipes in the user session so they can be easily accessed on the sidebar if 'recipe_history' in request.session: sessionlist = request.session['recipe_history'] if [ recipe.title, get_thumbnail(recipe.photo, '100x100', crop='center').url, recipe.get_absolute_url(), recipe.rating.score ] not in sessionlist: sessionlist.append(([ recipe.title, get_thumbnail(recipe.photo, '100x100', crop='center').url, recipe.get_absolute_url(), recipe.rating.score ])) if len(sessionlist) > 5: sessionlist.pop(0) request.session['recipe_history'] = sessionlist else: request.session['recipe_history'] = [[ recipe.title, get_thumbnail(recipe.photo, '100x100', crop='center').url, recipe.get_absolute_url(), recipe.rating.score ]]
Django Bot
>> Links - 5. Деплой Django проекта на VPS - YouTube - Good logging practice in Python – Fang's coding note - Django Logging Configuration: How the Default Settings Interfere with Yours
Code9
Any recommendations to js widget packages?
Django Bot
>> Links - How to Create a Password Reset View
Luis
Hi guys
Luis
https://github.com/fdemmer/django-weasyprint/issues/14
Django Bot
>> Links - Database Modelling — Django ORM Cookbook 2.0 documentation
Luis
https://github.com/fdemmer/django-weasyprint/issues/14
Ok, i found the problem, and, i want to know, how can i genereate a full site thumbnail url with sorl-thumbnail?
Django Bot
>> Links - sabricot/django-elasticsearch-dsl: This is a package that allows indexing o
Django Bot
>> Blogs - HOWTO: Working with Python, Unicode, and Arabic - Everyday Git in twenty commands or so - How Django URLs work with Regular Expressions >> Links - Introduction to Django Channels - klaviyo/django-orm-profiler: Watch where your queries come from in realtime - Database Modelling — Django ORM Cookbook 2.0 documentation - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation - How to deploy Django with Docker - Stavros' Stuff - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation - How does Django’s StreamingHttpResponse work, exactly? - Synchronizing Django model definitions - Dockerize your Django Application - What I Wish I Knew When I Started Django Development 2018 - Thoughts. Stuff - Dockerizing Django for Development - Fernando Alves - Web Development Career | Online Python Programming Courses - caktus/django-email-bandit: A Django email backend for hijacking email send - Let's talk about usernames - springload/awesome-wagtail: A curated list of awesome packages, articles, a - Awesome Wagtail stats - Test Driven Development of a Django RESTful API – Real Python - Models and databases | Django documentation | Django - Building a Modern Web Application with Django REST Framework and Vue: Build - Converting to another web framework: Basic apps in Symfony and Django
Anonymous
Dayum
inchidi
/warn spam
lol, looks like my bot off for couple days and new group member trigger it to online again
Leo
How can I run a python script of some program from Django page by creating a button to run the code as we click on the button
Import the script into the view and run it as needed. It’s as simple as that. If you need it to run without reload, you’ll have to usr Ajax
Anonymous
Database is not getting loaded in heroku-django app :(
Anonymous
Not enough info
prasad
I am a beginner any link for starter
mλdcodez
I am a beginner any link for starter
"Django by Example" is a must read for beginners.
Anonymous
Read django tutorials
mλdcodez
Or try django documentation.
prasad
Any specific version
Anonymous
Hello devs
inchidi
New to Django? here is some resource to start Official docs tutorial Step by step tutorial Video tutorial Another video tutorial Books Django by Example Tango With Django
Anonymous
Ayaz Hussain: Access denied while divio app config
Anonymous
Help please
Anonymous
Access denied while divio app config
Javi
The error is pretty clear :/
Anonymous
Am having a little problem rendering data in a sorted format
Anonymous
Take for example in my view function details() I got a query set list of choices just according to the tutorial on https://djangoproject.com and am to display them in the template, assuming my choices were [7,4,1,6,3,5]
Anonymous
How do I loop through them and display them in a sorted manner in Django templates to start from ascending order to descending order... I checked the docs but they didn't seem to mention how to sort choice_set in the tutorial.
Django Bot
>> Links - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation - Django: How to access request object from models - Django ContentTypes and Permissions - Django Custom Migrations
Anonymous
Hi, can i change user language to another thing with a tag? one link i mean <a> i searched about it but they say i should make a function in views and refer to it is any way to use set lang in i18n?
Anonymous
i want to use it in navbar of bootstrap
Django Bot
>> Blogs - How to Configure Multiple Databases in Django the Simple Way >> Links - Add a Google map to Django admin to get latitude and longitude (Phil Gyford
Anonymous
can you tell me which tutorial part?
https://docs.djangoproject.com/en/2.0/intro/tutorial03/ Here.... I followed django Tutorial
inchidi
https://docs.djangoproject.com/en/2.0/intro/tutorial03/ Here.... I followed django Tutorial
you can try add class Meta: ordering = ['choice_text'] to set default ordering of Choice model
inchidi
https://docs.djangoproject.com/en/2.0/ref/models/options/#ordering
inchidi
yes
Anonymous
Anonymous
Yes, it worked
Anonymous
@inchidi thanks
inchidi
or fyi, you can also order it then pass ordered choice from your view to your template like this: def detail(request, question_id): ... choice = question.choice_set.order_by('choice_text') return render(request, 'polls/detail.html', {'question': question, 'choices': choice}) and iterate choices in your template instead calling choices of question there
Anonymous
👍🏾 @inchidi
Anonymous
I have been struggling with this for Hours today... Thanks for helping me out
inchidi
you're welcome
Django Bot
>> Links - wemake-services/wemake-django-template: Bleeding edge django template focus - Full-text Search with Django and PostgreSQL | Logan's Note - How Django static files work in production — Django deployment
Someone
Hi.. Is it possible to set field level permissions on a model? For ex am having a model with fields like manager_review and employee_review, employee should not be able to see manager_review field which is on same model.
inchidi
of course you can do that but i believe it will give you unexpected behavior when you access your models via shell
Someone
Okies. In view level means, excluding certain fields and creating per view per user (manager/ emp)?
Anonymous
Who has used rabbitmq before...
Django Bot
>> Links - Algolia | The Most Reliable Platform for Building Search - Tutorial: Django REST with React (Django 2.0) - Twitter
Someone
true
Okies
Django Bot
>> Links - GitHub - areski/django-nvd3: Django wrapper for nvd3 - It's time for beauti
Django Bot
>> Links - Migrating our production deployment from MariaDB Galera to PostgreSQL and P
Django Bot
>> Links - Tutorial: Django REST with React (Django 2.0) - How to Use Python Decouple
Asaduzzaman
I want to learn django rest api implement with vuejs. How can I learn it?
Django Bot
>> Links - wemake-services/wemake-django-template: Bleeding edge django template focus
Luis
Is there any tool like scrutinizer-ci for Django?
Pradhvan
Should I switch to django 2 ? I am somewhat intermediate with 1.11
Pradhvan
Thoughts !
Django Bot
>> Links - Django - Full Stack Python - Obey the Testing Goat! - Sasha's pony checkup - Using Django | Django documentation | Django
Django Bot
>> Links - Django documentation contents | Django documentation | Django
Abhi
has anyone worked on making bot in django
Abhi
I want to save the bot conversation like {user_response: bot_response}, now getting any idea how do i map everything
Abhi
can someone help
Django Bot
>> Links - Getting started with Django | Django - Introduction - Django Web Development with Python 1 - YouTube - Two Scoops Press: Making Python and Django as fun as ice cream - Hello Web Books | Beginner Programming & Design Books - Learn Django - Best Django Tutorials | Hackr.io - Introduction · Django Girls Tutorial - ResourcesLibres - Lista últimos recursos - Try Django 1.10 - A URL Shortening Service - YouTube - Flask learning path? : learnpython - Tutorial — Flask Documentation (0.12) - Promo - Real Python / NOV242017 - Django documentation | Django documentation | Django - Django Tutorials for Beginners - YouTube - Django Tutorial For Beginners - Jobs Board Web-App - YouTube - The Complete Python 3 Course: Beginner to Advanced! | Udemy - Build a CRUD Web App With Python and Flask - Part One ― Scotch - Django Admin Cookbook — Django Admin Cookbook 2.0 documentation - As a Django noob with little experience hosting web services, but a complex - repl.it - DarkkhakiDamagedBovine - C, C++, Python and Ruby Programming | Udemy - Step 4: Database Connections — Flask Documentation (0.12) - pyenv/pyenv-virtualenv: a pyenv plugin to manage virtualenv (a.k.a. python- - Learn Flask - Best Flask Tutorials | Hackr.io - Writing your first Django app, part 1 | Django documentation | Django - Try DJANGO TUTORIAL Series (v1.11) // Learn Django Version 1.11 - YouTube
Luis
José Luis: Is there any tool like scrutinizer-ci for Django?