Django REST Framework can make creating a RESTFUL api quick and easy.
Join me as I go over: - What makes an API Restful - How Serializers can make representing your existing models in JSON a breeze - What the built in Views provide for you, and how to provide authentication for your API - How to route to your new Endpoints - Last but not least, how to Unit Test them
Good search experience for your users is about more than just a more efficient way to find models containing certain word or phrase. In this talk we'll go through what are the relevant parts of search and how to best implement them (we'll use Elasticsearch for actual examples).
The goal of the talk is to demystify search engines and provide the attendees with the tools required to create a great search experience for their sites. It will cover basics from information retrieval theory as well as practical examples on how to integrate search into their apps.
Web application security is an ever present problem. The "don't trust user input" mantra sounds nice but doesn't practically work. In this talk we will go over introduce and apply a set of practical programming paradigms that you can use to write secure code.
One of the big changes in Django 1.3 was the introduction of Class-Based Views. Opinion on them is strongly divided; some love them, some hate them.
How do you set up a kick-ass dev environment? I'll share our team's setup and tools that give us a dev environment with superpowers: mirrors production; sets itself up with a single command; documented in code; repeatable and shareable. I hope you learn something you can put into action tomorrow!
GNU Mailman, the popular mailing list manager has undergone a major redesign. One of the changes is the separation of the web user interfaces from the core engine and the use of Django for list management and archiving.
This talk shows how these interfaces use Mailman's internal APIs, how they can be integrated into existing Django projects and how they can be customized and extended.
Building software that changes lives is hard work. This talk will focus on three important concepts that you can use to identify problems, solve them, and get feedback on your solutions as soon as possible. The focus will be on why Django matters in this process, and what Django does for you as a creator to speed up this process.
Since the days of version 1.0, the Django community has added countless features that address performance pain points; everything from cached template loaders to prefetch_related(), the staticfiles app to django-debug-toolbar. But how do you use these tools to make your site fast? In this talk we take a meandering survey through the Django/Python performance landscape.
The Django debug toolbar is for many an indispensable part of the developer toolkit. This talk will look at how such web application debug tool bars are integrated into your web application and are able to inject information into your browser window, how they capture the information presented and how you can extend them.
Your challenge, should you choose to accept it, is to create a system that allows patients to connect to doctors licensed in their state efficiently. How I used Django, Celery, Redis and Websockets to create a real-time matching system for Doctor On Demand.
It is not uncommon for important django applications to be developed or used by the American or European universities, however this is not the case of Brazil. It is very common for Brazilian universities to rely on PHP or Java frameworks. This talk aims to show how we are turning Django into a viable solution for the development of software in the academia.
Websites built with Django are built on "projects" which are composed of oneor more "apps". But what is a project really? This talk will dissect a Django project to understand which pieces are convention and which are required. It explain what if anything separates a project from an app and answer common questions about projects vs apps.
In an industry where “lean” has become the mantra and rapidly iterated products imply tight budgets and tighter deadlines, how do you effectively take ownership of someone’s hastily written Django code? In this talk, we’ll dive into a step-by-step process for dicing up legacy projects, short-sighted prototypes, and plain ol’ spaghetti code to turn them into codebases you’ll show off with pride.
Have questions about getting better performance out of Django or scaling it up large? We've assembled a group of knowledgable Django experts who have been there to answer the questions you have. While every site has its own challenges most follow similar patterns that are often easy to solve.
Amazon Web Services (AWS) is the leader in cloud computing. The AWS service offering is vast and continually evolving. As AWS grows so does the pace of innovation, there are hundreds of updates every year. Keeping up with the changes is not trivial. This talk will highlight top tips for both new and experienced users of AWS with a view to deploying a website, powered by Django naturally.
This talk will explain and showcase how improving transparency and accountability in development teams can significantly improve the culture in the team and improve the quality of the code that gets released.
An in-depth look at Django's new migrations framework, explaining the component architecture, highlighting issues with multiple database backends, and showing how management commands typically get routed through the software.
For those who have not had the pleasure of seeing django's inspectdb command in action, I will create a demonstration of it's power. Django's inspectdb command can reverse engineer a set of models from a postgres or mysql database. I will demonstrate how to take a legacy database and create a quick and dirty admin tool along with a simple rest interface.
Have you gone through the comprehensive GeoDjango docs, but wondered where to go next? Are you curious about how you can combine the power GeoDjango with other community-built tools? Do you want to create pretty maps in Python? If so, you are in the right place. Learn about GeoDjango and Geographic Information Systems and navigate beyond the docs into the exciting GIS technology landscape.
AngularJS is a powerful MVC framework that can easily integrate with Django templates.
Let's walk through integrating the two for fantastic results. The result is a fast, dynamic single page application.
The most important part of Django is it's community of contributors -- without contributors, Django would never improve. However, while it's relatively easy to work out how to use Django, the process of getting involved in development is a little more opaque. How does the the core team operate? What tools and decision making processes exist? And how do you, as a Django user, get involved?
I found it surprisingly easy to do a simple integration of Django with an existing WordPress blog. I use Django to display content from WordPress’s database. I’ll explain how I integrated them and what made things easy.
Developing applications for civil service organizations can be uniquely challenging. The presentation discusses our experience with MASS a market surveillance and monitoring application developed for the TTSEC. MASS is based on Django and Pandas. We highlight not only the techinal aspects of the solution but also address the HR and organizational factors that impacted on the project
Want to learn about Django 1.7 and how to upgrade Django? Are you unclear on what the numbers 1.7 mean or how Django rolls out new versions? Find upgrading daunting? Want to better keep up with changes being made in Django? This talk is for you.
Don't prematurely optimize. Get your project to v1.0." This is a mantra often repeated in the Djangoverse. But what happens after v1.0 launch when your awesome site is being crushed by traffic? Scaling Django under load means finding bottlenecks, leveraging new tools, and customizing code. This talk will show you how it's done.
A look at the challenges and successes that the Safari Books Online team has had implementing RESTful web services in Django.
OAuth 2.0 is the current version of OAuth, a hotly debated open standard for authorization. Implementing it allows your users to grant access to their data to other services, turning your collection of services into a platform. In this talk I will discuss the options you have for creating your own OAuth 2.0 components with Django, how to use them, and common implementation mistakes.
REST APIs are capable of providing valuable services within and beyond an organization. Django and the Django REST Framework enabled my team to quickly deliverable a highly functional REST API that was customized to our unique needs. This discussion will cover how easy Django makes it to build such an application and how to overcome potential pitfalls.
The top five Django problems in large enterprise organizations are integrating with Active Directory, passing security audits, transferring data from legacy systems, installing packages from PyPI through proxy servers and combating misperceptions around dynamically typed programming languages. We'll solve these problems with code and resources to back up arguments to enterprise stakeholders.
First steps and best practices for getting a reproduceable environment for Django development!
Elasticsearch DSL is a new library for integrating Django apps with Elasticsearch, enabling users to utilize the full power of Elasticsearch.
This talk explains how to perform SQL query analysis and how to rewrite your views to reduce the number of queries Django uses in evaluating your model objects and their attributes. Special emphasis will be given to the powerful methods "select_related" and "prefetch_related." I will highlight the problem with a naive use of the ORM, how to target code for optimization, and the beneficial result.
How can I make my Django app extensible so it can be used beyond my original intent and gain wider adoption? Come learn how Eldarion has been making their apps extensible for greater reuse as well as wider adoption.
From WSGI servers and reverse proxies to continuous integration and automated configuration management, the Django deployment environment is a complicated collection of tools for developers new to the framework. This talk explains the most confusing Django deployment topics as chosen by the audience in real-time via text message votes. Bring your phone to participate!
Have you ever written or used an API wrapper for a webservice? REST is a client-server architecture model and building the server is only half of the challenge. This talk will walk through some of the challenges of building a REST client, describe some best practices and some patterns to avoid, and discuss how we can all work to build better APIs for an open web.
With the increase of code academies training new engineers there is an increase in junior engineers on the market. A lot of companies are hesitant to hire too many young engineers because they lack sufficient resources to train them.
When it comes to implementing authentication on web apps, one solution you’ll definitely hear about first are cookies. Cookie-based authentication uses a server side cookies to authenticate the user on every request. A solution you’ll probably not hear as often is token-based authentication which relies on a signed token that is sent to the server on each request.
The Django admin is often cited as one of Django's great strengths. With virtually no coding, you have a functional web interface to administer your data. However, the admin should not be your (whole) web site. This talk discusses when you should use the admin and when you should not, admim customization features from basic to advanced, and how to grow beyond the admin (even for administration).
Django makes it easy to build a site and get it running on your laptop, but how do you go from there to a site that can gracefully handle millions of page views per day? This talk will show you the modifications and supporting services needed to make your site scale. Topics will include caching, uWSGI, Varnish, and load balancing.
How the government of Puerto Rico is making the release of government data and interagency electronic communication a reality using Django and a stack of Django and Python tools and libraries. This effort resulted in the creation of the LIBRE API engine.
We will walk you through how to implement activity streams for your website in a generic fashion by leveraging the activitystrea.ms open specification. The two tools we will show are django-activity-streams which lets you interrelate the objects in your Django site using a supported DB and the activitystreams project which provides a ReST service based on the spec, with Neo4j graph for storage.