Django community: RSS
This page, updated regularly, aggregates Django links from the Django community.
-
Save an Auto Generated PDF File to Django model | Coding For Entrepreneurs
from io import BytesIO from django.core.files import File from .utils import render_to_pdf # models.py class YourModel(models.Model): slug = models.CharField(max_length=120) pdf = models.FileField(upload_to='pdfs/', null=True, blank=True) # to generate and save your pdf to your model def generate_obj_pdf(instance_id): obj = YouModel.objects.get(id=instance_id) context = {'instance': obj} pdf = render_to_pdf('your/pdf/template.html', context) filename = "YourPDF_Order{}.pdf" %(obj.slug) obj.pdf.save(filename, File(BytesIO(pdf.content))) -
HTML Template to PDF in Django | Coding For Entrepreneurs
-
CJKhyperradicals: Chinese characters radicalizer and hyperradicalizer for web browser (Python/Flask/Django)
-
BeDjango: 12 Tips and Tricks for Improved Django Security! —Planet Python “In this article we shall discuss a point to which we give little importance when we are beginning to programme our application and which, with little details, we can improve si
-
DataTables | Table plug-in for jQuery
-
Techiediaries - Django: Resetting Django Migrations —Planet Python “Resetting Django Migrations Sometimes you’ll need to reset your Django migrations or simply make a clean up.”
-
jazzband/django-axes: Keep track of failed login attempts in Django-powered sites.
-
orsinium/django-bruteforce-protection: Bruteforce protection for Django projects based on Redis. Simple, powerful, extendable.
-
BeDjango: 12 Tips and Tricks for Improved Django Security!
-
geex-arts/django-jet
-
How to Build a USSD App Using Python and Django
https://news.ycombinator.com/item?id=16800401 -
rosarior/awesome-django: Repository mirror of GitLab: https://gitlab.com/rosarior/awesome-django
-
Django: Building REST APIs – Polyglot.Ninja()
-
Viewsets - Django REST framework
-
GitHub - nephila/django-html5-appcache: Application to handle HTML5 Appcache Manifest files for dynamic django websites
-
postgis - Adding SRID 3857 to spatial_ref_sys - Geographic Information Systems Stack Exchange
-
Twitter
There are a few tech roles that look pretty neat here. #ios #iot #arkit #python #django #aws #ai #ml #autism #asd… -
abogushov/django-admin-json-editor: Adds json-editor for JSONField in Django Administration
> Adds json-editor for JSONField in Django Administration -
Reconciling Backend Templates with Frontend Components
-
Using Django with an existing legacy database
The Django web framework is well suited for creating medium sized research databases. It allows rapid development of a convenient data administration backend (using the Django Admin Site) as well a… -
A comprehensive Django CBV guide — /var/
-
Django Querysets - add a string literal annotation - Stack Overflow
a_vote_set.aggregate( count = Count('id'), avg=Avg('score'), std=StdDev('score'), sum=Sum('score') ).annotate( additional_value=Value(candidate.name, output_field=CharField()), ) -
django-mediagenerator asset manager | All Buttons Pressed
-
Django in Production: Part 1 - The Stack
autorestart=true stdout_logfile=/path/to/app/django_logs/supervisord.log redirect_stderr=true -
The Django Book - Python Django Tutorials