GoCD is a Continuous Delivery tool allowing you to model, orchestrate, and visualize complex workflows. Our enterprise offering provides plugins and professional support to help your scale CD in your organization. Check out GOCD’s enterprise features and performance upgrades now!
Don't take chances with app security. Here's how to protect your users.
Lately I’ve been playing with Django (in a real project, not tutorials) and all I have to say is… Oh My God!! I’m so impressed with Django’s clarity, speed of development and “cleanliness”, that I’m even planning for it to become my main ‘go-to’ framework! Don’t get me wrong, I’ve been working with Symfony for a few years and it’s still going to be the main framework I use for PHP projects, and probably the most comfortable I’ll feel working with for a while, but right now Django is like a new toy and I’m really excited to share this with you!
This is what will hopefully be the first in a series of reference articles for using Core API libraries with Django REST Framework (DRF). This is an extraction from an existing production view running Django 1.11/2.0 on Python 3.6. The original code did something else, but for contract reasons I'm demonstrating this code with sending email. Please note that this article is very terse, with almost no description, no tests, and no URL routing. Just enough code so that if you have a decent understand of DRF, you can make custom views work with Core API.
Dependent or chained dropdown list is a special field that relies on a previously selected field so to display a list of filtered options. A common use case is on the selection of state/province and cities, where you first pick the state, and then based on the state, the application displays a list of cities located in the state.
How Do You Compare? Compare yourself to over 1,000 DevOps peers to see how they manage their processes.
In accordance with our security release policy, the Django team is issuing Django 1.11.10 and Django 2.0.2. These release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
ORMs offer great utility for developers but abstracting access to the database has its costs. Developers who are willing to poke around the database and change some defaults often find that great improvements can be made. In this article I am going to share 9 tips for working with databases in Django.
In order to add a GiST index on a Postgres database that could be used to accelerate trigram matches using the pg_trgm module and the special gist_trgm_ops operator, I had to code up a special Django Index. Django will hopefully soon support custom index operators, but if you need the functionality right now, this example will do the trick.
Django Rest Framework (DRF) is a fantastic tool for API development in Django. However, it does have some downsides. Serializers are an especially heavy part of the framework. Rightfully so, they do quite a bit of magic to make API development lightning quick by automatically pulling fields from your Django Models and applying all the database validation. Another downside is that you are forced to declare what fields you want to serializer in the class definition. This typically means you include everything if you want to reuse the same endpoint, or you have to create separate serializers for different views.
Migrations in Django are a way of propagating changes made in the model into the database schema.
docker-elk-tutorial - 8 Stars, 1 Fork
docker-elk-tutorial + django + logging
django_social_pill - 7 Stars, 3 Fork
Django Social Pill offers convenience tools for routine tasks concerning social authentication. It builds on top of Python Social Auth application for Django package.
django_binance_trader - 6 Stars, 0 Fork
Automated trading bot for Binance
dependent-dropdown-example - 3 Stars, 1 Fork
Code example used in the post "How to Implement Dependent/Chained Dropdown List with Django".
Ankur has coded and deployed numerous Python software over the last 10 years, at three venture funded startup and a fortune 10 company. He currently heads Numerate Labs. Djangoweekly is his side project with Django being his go to web framework.