The simple but powerful elegance of Django REST Framework. start

Size: px
Start display at page:

Download "The simple but powerful elegance of Django REST Framework. start"

Transcription

1 The simple but powerful elegance of Django REST Framework start

2 Morten Barklund Full-stack Freelancer Rookie Pythonista Decent Djangoneer 2

3 Table of Contents 01 Django REST Framework 02 Permissions 03 Examples 04 More 3

4 01 Django REST Framework JSON-based REST API Heavily ORM-backed serialization Authentication Validation 4

5 from django.contrib.auth.models import User from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('username', ' ', ) 5

6 from django.contrib.auth.models import User from rest_framework import viewsets from.serializers import UserSerializer class UserViewSet(viewsets.ModelViewSet): queryset = User.objects.all() serializer_class = UserSerializer 6

7 from django.conf.urls import url, include from rest_framework import routers from. import views router = routers.defaultrouter() router.register(r'users', views.userviewset) urlpatterns = [ url(r'^', include(router.urls)), url(r'^api-auth/', include( rest_framework.urls', namespace='rest_framework')) ] 7

8 INSTALLED_APPS = (... 'rest_framework', ) REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.allowany', ) } 8

9 GET /users/ POST /users/ GET /users/<pk>/ PUT /users/<pk>/ PATCH /users/<pk>/ DELETE /users/<pk>/ 9

10 02 Permissions Who can do what Object collections Individual objects 10

11 class Book(models.Model): author = models.foreignkey('user') title = models.textfield() class BookSerializer(serializers.ModelSerializer): class Meta: model = Book fields = ('author', 'title', ) class BookViewSet(viewsets.ModelViewSet): queryset = Book.objects.all() serializer_class = BookSerializer router = routers.defaultrouter() router.register(r'books', BookViewSet) 11

12 INSTALLED_APPS = (... 'dry_rest_permissions', ) 12

13 from dry_rest_permissions.generics import DRYPermissions class BookViewSet(viewsets.ModelViewSet): permission_classes = (DRYPermissions,) queryset = Book.objects.all() serializer_class = BookSerializer 13

14 class Book(models.Model): author = def has_read_permission(request): return def has_write_permission(request): def has_create_permission(request): return True 14

15 def has_write_permission(request): return True def has_object_write_permission(self, request): return request.user == self.author 15

16 class def has_object_delete_permission(self, request): return request.user == self.author 16

17 03 Examples 17

18 class Group(models.Model): name = models.charfield(max_length=128) is_public = models.booleanfield(default=true) members = models.manytomanyfield( User", through='membership') class Membership(models.Model): user = models.foreignkey("user") group = models.foreignkey(group) is_admin = models.booleanfield(default=false) 18

19 class GroupSerializer(serializers.ModelSerializer): class Meta: model = 'group' fields = ('name', 'members', ) class GroupViewSet(viewsets.ModelViewSet): permission_classes = (DRYPermissions,) queryset = Group.objects.all() serializer_class = GroupSerializer router = routers.defaultrouter() router.register(r'groups', GroupViewSet) 19

20 class def has_object_read_permission(self, request): return self.is_public or self.members.filter(pk=request.user.pk).exists() 20

21 class def has_object_read_permission(self, request): return self.is_public or self.members.filter(pk=request.user.pk).exists() def has_object_write_permission(self, request): return self.membership_set \.get(user=request.user).is_admin 21

22 class Message(models.Model): group = models.foreignkey(group) author = models.foreignkey("user") body = models.textfield() 22

23 class Message(models.Model): group = models.foreignkey(group) author = models.foreignkey("user") body = models.textfield() def has_object_read_permission(self, request): return self.group.has_object_read_permission(request) 23

24 class Message(models.Model): group = models.foreignkey(group) author = models.foreignkey("user") body = models.textfield() def has_object_read_permission(self, request): return self.group.has_object_read_permission(request) def has_object_write_permission(self, request): return self.author == request.user 24

25 class Message(models.Model): group = models.foreignkey(group) author = models.foreignkey("user") body = models.textfield() def has_object_read_permission(self, request): return self.group.has_object_read_permission(request) def has_object_write_permission(self, request): return self.author == request.user def has_object_delete_permission(self, request): return self.author == request.user or self.group.has_object_write_permission(request) 25

26 class Comment(models.Model): message = models.foreignkey(message) commenter = models.foreignkey("user") reply = models.textfield() 26

27 class Comment(models.Model): message = models.foreignkey(message) commenter = models.foreignkey("user") reply = models.textfield() def has_object_read_permission(self, request): return self.message \.has_object_read_permission(request) 27

28 class Comment(models.Model): message = models.foreignkey(message) commenter = models.foreignkey("user") reply = models.textfield() def has_object_read_permission(self, request): return self.message \.has_object_read_permission(request) def has_object_write_permission(self, request): return self.commenter == request.user 28

29 class Comment(models.Model): message = models.foreignkey(message) commenter = models.foreignkey("user") reply = models.textfield() def has_object_read_permission(self, request): return self.message \.has_object_read_permission(request) def has_object_write_permission(self, request): return self.commenter == request.user def has_object_delete_permission(self, request): return self.commenter == request.user or self.message.has_object_delete_permission(request) 29

30 04 More Read the docs 30

31 ? Thank You Presenter: Morten close

HOW TO MAKE A FULL FLEDGED REST API. with DJANGO OAUTH TOOLKIT

HOW TO MAKE A FULL FLEDGED REST API. with DJANGO OAUTH TOOLKIT HOW TO MAKE A FULL FLEDGED REST API with DJANGO OAUTH TOOLKIT FEDERICO FRENGUELLI @synasius http://evonove.it GOALS OAuth2 protected REST API with Django WHY? INTRODUCING the marvelous TIMETRACKER ONCE

More information

Building APIs with Django and Django Rest Framework

Building APIs with Django and Django Rest Framework Building APIs with Django and Django Rest Framework Release 2.0 Agiliq Jun 10, 2018 Contents 1 Introductions 3 1.1 Who is this book for?.......................................... 3 1.2 How to read this

More information

Tangent MicroServices Documentation

Tangent MicroServices Documentation Tangent MicroServices Documentation Release 1 Tangent Solutions March 10, 2015 Contents 1 Getting Started 3 1.1 Micro Services Projects......................................... 3 2 Service Registry 5

More information

Bambu API Documentation

Bambu API Documentation Bambu API Documentation Release 2.0.1 Steadman Sep 27, 2017 Contents 1 About Bambu API 3 2 About Bambu Tools 2.0 5 3 Installation 7 4 Basic usage 9 5 Questions or suggestions? 11 6 Contents 13 6.1 Defining

More information

Graphene Documentation

Graphene Documentation Graphene Documentation Release 1.0.dev Syrus Akbary Nov 09, 2017 Contents 1 Introduction tutorial - Graphene and Django 3 1.1 Set up the Django project........................................ 3 1.2 Hello

More information

Django REST Framework JSON API Documentation

Django REST Framework JSON API Documentation Django REST Framework JSON API Documentation Release 2.0.0-alpha.1 Jerel Unruh Jan 25, 2018 Contents 1 Getting Started 3 1.1 Requirements............................................... 4 1.2 Installation................................................

More information

drf-haystack documentation

drf-haystack documentation drf-haystack documentation Release 1.8.3 Inonit Jun 16, 2018 Contents 1 Basic Usage 3 1.1 Examples.......................................... 3 2 Autocomplete 7 3 GEO spatial locations 9 4 Highlighting

More information

django-permission Documentation

django-permission Documentation django-permission Documentation Release 0.8.8 Alisue October 29, 2015 Contents 1 django-permission 1 1.1 Documentation.............................................. 1 1.2 Installation................................................

More information

django-rest-framework-datatables Documentation

django-rest-framework-datatables Documentation django-rest-framework-datatables Documentation Release 0.1.0 David Jean Louis Aug 16, 2018 Contents: 1 Introduction 3 2 Quickstart 5 2.1 Installation................................................ 5

More information

Django OAuth Toolkit Documentation

Django OAuth Toolkit Documentation Django OAuth Toolkit Documentation Release 1.2.0 Evonove Jun 03, 2018 Contents 1 Support 3 2 Requirements 5 3 Index 7 3.1 Installation................................................ 7 3.2 Tutorials.................................................

More information

django-conduit Documentation

django-conduit Documentation django-conduit Documentation Release 0.0.1 Alec Koumjian Apr 24, 2017 Contents 1 Why Use Django-Conduit? 3 2 Table of Contents 5 2.1 Filtering and Ordering.......................................... 5

More information

CE419 Web Programming. Session 15: Django Web Framework

CE419 Web Programming. Session 15: Django Web Framework CE419 Web Programming Session 15: Django Web Framework Web Applications & Databases In modern Web applications, the arbitrary logic often involves interacting with a database. Behind the scenes, a database-driven

More information

django-rest-auth Documentation

django-rest-auth Documentation django-rest-auth Documentation Release 0.3.0 Tivix Inc. Jan 21, 2018 Contents 1 Contents 3 1.1 Introduction............................................... 3 1.2 Installation................................................

More information

Django Synctool Documentation

Django Synctool Documentation Django Synctool Documentation Release 1.0.0 Preston Timmons November 01, 2014 Contents 1 Basic usage 3 1.1 How it works............................................... 4 2 Installation 5 3 Contents 7 3.1

More information

Django Localized Recurrence Documentation

Django Localized Recurrence Documentation Django Localized Recurrence Documentation Release 3.2.0 Erik Swanson Jan 03, 2019 Contents 1 Table of Contents 3 1.1 Installation................................................ 3 1.2 Quickstart and Basic

More information

DjangoRestMultipleModels Documentation

DjangoRestMultipleModels Documentation DjangoRestMultipleModels Documentation Release 2.1.0 Matt Nishi-Broach Apr 21, 2018 Contents 1 Installation 3 1.1 Usage................................................... 3 1.2 Installation................................................

More information

Tailor Documentation. Release 0.1. Derek Stegelman, Garrett Pennington, and Jon Faustman

Tailor Documentation. Release 0.1. Derek Stegelman, Garrett Pennington, and Jon Faustman Tailor Documentation Release 0.1 Derek Stegelman, Garrett Pennington, and Jon Faustman August 15, 2012 CONTENTS 1 Quick Start 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

Django-Select2 Documentation. Nirupam Biswas

Django-Select2 Documentation. Nirupam Biswas Nirupam Biswas Mar 07, 2018 Contents 1 Get Started 3 1.1 Overview................................................. 3 1.2 Installation................................................ 3 1.3 External Dependencies..........................................

More information

Django Groups Manager Documentation

Django Groups Manager Documentation Django Groups Manager Documentation Release 0.3.0 Vittorio Zamboni January 03, 2017 Contents 1 Documentation 3 1.1 Installation................................................ 3 1.2 Basic usage................................................

More information

MapEntity Documentation

MapEntity Documentation MapEntity Documentation Release 0.1.0 Makina Corpus Jun 11, 2018 Contents 1 Installation 3 1.1 Quickstart................................................ 3 1.2 Manual installation With a PostGIS database..............................

More information

django-baton Documentation

django-baton Documentation django-baton Documentation Release 1.3.1 abidibo Nov 05, 2018 Contents 1 Features 3 2 Getting started 5 2.1 Installation................................................ 5 2.2 Configuration...............................................

More information

Django MFA Documentation

Django MFA Documentation Django MFA Documentation Release 1.0 Micro Pyramid Sep 20, 2018 Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

Bricks Documentation. Release 1.0. Germano Guerrini

Bricks Documentation. Release 1.0. Germano Guerrini Bricks Documentation Release 1.0 Germano Guerrini January 27, 2015 Contents 1 Requirements 3 2 Contents 5 2.1 Getting Started.............................................. 5 2.2 Basic Usage...............................................

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Oct 04, 2018 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

MIT AITI Python Software Development Lab DJ1:

MIT AITI Python Software Development Lab DJ1: MIT AITI Python Software Development Lab DJ1: This lab will help you get Django installed and write your first application. 1 Each person in your group must complete this lab and have it checked off. Make

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Sep 27, 2017 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

django-sticky-uploads Documentation

django-sticky-uploads Documentation django-sticky-uploads Documentation Release 0.2.0 Caktus Consulting Group October 26, 2014 Contents 1 Requirements/Installing 3 2 Browser Support 5 3 Documentation 7 4 Running the Tests 9 5 License 11

More information

Django design patterns Documentation

Django design patterns Documentation Django design patterns Documentation Release 0.2 Agiliq and Contributors April 13, 2018 Contents 1 Chapters 3 1.1 Django Design Patterns......................................... 3 1.2 Urls....................................................

More information

django-filter Documentation

django-filter Documentation django-filter Documentation Release 2.0.0 Alex Gaynor and others. Dec 17, 2018 User Guide 1 Installation 3 1.1 Requirements............................................... 3 2 Getting Started 5 2.1 The

More information

django-renderit Documentation

django-renderit Documentation django-renderit Documentation Release 1.2 jsoares Nov 20, 2017 Contents 1 Installation 3 2 Getting Started 5 2.1 Basic Usage............................................... 5 2.2 Extra Arguments.............................................

More information

Kiki Documentation. Release 0.7a1. Stephen Burrows

Kiki Documentation. Release 0.7a1. Stephen Burrows Kiki Documentation Release 0.7a1 Stephen Burrows August 14, 2013 CONTENTS i ii Kiki Documentation, Release 0.7a1 Kiki is envisioned as a Django-based mailing list manager which can replace Mailman. CONTENTS

More information

Django Groups Manager Documentation

Django Groups Manager Documentation Django Groups Manager Documentation Release 0.3.0 Vittorio Zamboni May 03, 2017 Contents 1 Documentation 3 1.1 Installation................................................ 3 1.2 Basic usage................................................

More information

7401ICT eservice Technology. (Some of) the actual examination questions will be more precise than these.

7401ICT eservice Technology. (Some of) the actual examination questions will be more precise than these. SAMPLE EXAMINATION QUESTIONS (Some of) the actual examination questions will be more precise than these. Basic terms and concepts Define, compare and discuss the following terms and concepts: a. HTML,

More information

django-filter Documentation

django-filter Documentation django-filter Documentation Release 1.0.4 Alex Gaynor and others. Sep 26, 2017 User Guide 1 Installation 3 1.1 Requirements............................................... 3 2 Getting Started 5 2.1 The

More information

django-openid Documentation

django-openid Documentation django-openid Documentation Release 2.0a Simon Willison September 27, 2017 Contents 1 Installation 3 2 Accepting OpenID 5 2.1 Redirecting somewhere else....................................... 6 2.2 Requesting

More information

Django File Picker Documentation

Django File Picker Documentation Django File Picker Documentation Release 0.5 Caktus Consulting Group LLC Nov 06, 2017 Contents 1 Dependencies 3 1.1 Required................................................. 3 1.2 Optional.................................................

More information

django-baton Documentation

django-baton Documentation django-baton Documentation Release 1.0.7 abidibo Nov 13, 2017 Contents 1 Features 3 2 Getting started 5 2.1 Installation................................................ 5 2.2 Configuration...............................................

More information

django-allauth-2fa Documentation

django-allauth-2fa Documentation django-allauth-2fa Documentation Release 0.4.3 Víðir Valberg Guðmundsson, Percipient Networks Apr 25, 2018 Contents: 1 Features 3 2 Compatibility 5 3 Contributing 7 3.1 Running tests...............................................

More information

django-audit-log Documentation

django-audit-log Documentation django-audit-log Documentation Release 0.8.0 Vasil Vangelovski (Atomidata) Jul 21, 2017 Contents 1 Installation 3 2 Tracking Users that Created/Modified a Model 5 2.1 Tracking Who Created a Model.....................................

More information

Django File Picker Documentation

Django File Picker Documentation Django File Picker Documentation Release 0.5 Caktus Consulting Group LLC Oct 31, 2017 Contents 1 Dependencies 3 1.1 Required................................................. 3 1.2 Optional.................................................

More information

django-oauth2-provider Documentation

django-oauth2-provider Documentation django-oauth2-provider Documentation Release 0.2.7-dev Alen Mujezinovic Aug 16, 2017 Contents 1 Getting started 3 1.1 Getting started.............................................. 3 2 API 5 2.1 provider.................................................

More information

staff Documentation Release 1.2

staff Documentation Release 1.2 staff Documentation Release 1.2 me February 06, 2016 Contents 1 Goals 3 2 Contents 5 2.1 Getting Started.............................................. 5 2.2 Customizing StaffMember........................................

More information

django-revproxy Documentation

django-revproxy Documentation django-revproxy Documentation Release 0.9.14 Sergio Oliveira Jun 30, 2017 Contents 1 Features 3 2 Dependencies 5 3 Install 7 4 Contents: 9 4.1 Introduction...............................................

More information

django-organizations Documentation

django-organizations Documentation django-organizations Documentation Release 1.1.1 Ben Lopatin Aug 29, 2018 Contents 1 Getting started 3 1.1 Installation................................................ 3 1.2 Configuration...............................................

More information

Tuesday, July 2, 13. intentionally left blank

Tuesday, July 2, 13. intentionally left blank intentionally left blank getting django to play with old friends getting django to play with old friends or foes Lynn Root River Bar, 2013 Red Hat @ roguelynn roguelynn.com Lynn Root freeipa.org Lynn Root

More information

Django Admin Sortable Documentation

Django Admin Sortable Documentation Django Admin Sortable Documentation Release 1.7.0 Brandon Taylor September 28, 2016 Contents 1 Supported Django Versions 3 1.1 Django 1.4.x............................................... 3 1.2 Django

More information

django-dynamic-preferences Documentation

django-dynamic-preferences Documentation django-dynamic-preferences Documentation Release 1.4.2 Eliot Berriot Nov 22, 2017 Contents 1 Features 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

External HTTPS Trigger AXIS Camera Station 5.06 and above

External HTTPS Trigger AXIS Camera Station 5.06 and above HOW TO External HTTPS Trigger AXIS Camera Station 5.06 and above Created: October 17, 2016 Last updated: November 19, 2016 Rev: 1.2 1 Please note that AXIS does not take any responsibility for how this

More information

Django REST Framework JSON API Documentation

Django REST Framework JSON API Documentation Django REST Framework JSON API Documentation Release 2.6.0 Django REST Framework JSON API contributors Sep 21, 2018 Contents 1 Getting Started 3 1.1 Requirements...............................................

More information

fragapy Documentation

fragapy Documentation fragapy Documentation Release 1.0 2011, Fragaria, s.r.o November 09, 2011 CONTENTS 1 Adminhelp 3 2 Amazon 5 2.1 AWS branded scripts........................................... 5 2.2 SES SMTP relay.............................................

More information

canary Documentation Release 0.1 Branton K. Davis

canary Documentation Release 0.1 Branton K. Davis canary Documentation Release 0.1 Branton K. Davis August 18, 2012 CONTENTS 1 Installation 3 1.1 Installing Canary Reports........................................ 3 1.2 Running the Demo Project........................................

More information

Tastypie Documentation

Tastypie Documentation Tastypie Documentation Release 0.9.9 Daniel Lindsley, Cody Soyland & Matt Croydon September 28, 2015 Contents 1 Getting Started with Tastypie 3 1.1 Installation................................................

More information

Djam Documentation. Release Participatory Culture Foundation

Djam Documentation. Release Participatory Culture Foundation Djam Documentation Release 0.1.0 Participatory Culture Foundation December 24, 2013 Contents 1 Links 3 2 Getting Started 5 2.1 Quick Start................................................ 5 2.2 Extending

More information

silk Documentation Release 0.3 Michael Ford

silk Documentation Release 0.3 Michael Ford silk Documentation Release 0.3 Michael Ford September 20, 2015 Contents 1 Quick Start 1 1.1 Other Installation Options........................................ 1 2 Profiling 3 2.1 Decorator.................................................

More information

django-app-metrics Documentation

django-app-metrics Documentation django-app-metrics Documentation Release 0.8.0 Frank Wiles Sep 21, 2017 Contents 1 Installation 3 1.1 Installing................................................. 3 1.2 Requirements...............................................

More information

django-telegram-bot Documentation

django-telegram-bot Documentation django-telegram-bot Documentation Release 0.6.0 Juan Madurga December 21, 2016 Contents 1 django-telegram-bot 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

The Django Web Framework Part VI

The Django Web Framework Part VI The Django Web Framework Part VI Web Programming Course Fall 2013 Outline Session Framework User Authentication & Authorization in Django 2 Session Framework Session Framework lets you store and retrieve

More information

Django CBTools Documentation

Django CBTools Documentation Django CBTools Documentation Release 1.2.0 Viacheslav Iutin August 05, 2016 Contents 1 Installation 3 1.1 Pre-requisite............................................... 3 1.2 Requirements...............................................

More information

TailorDev Contact Documentation

TailorDev Contact Documentation TailorDev Contact Documentation Release 0.3 Julien Maupetit November 06, 2013 Contents 1 Django TailorDev Contact 3 1.1 Dependencies............................................... 3 1.2 Installation................................................

More information

tally Documentation Release Dan Watson

tally Documentation Release Dan Watson tally Documentation Release 1.0.0 Dan Watson Sep 27, 2017 Contents 1 Installation 3 1.1 The tally Server............................................. 3 1.2 Sending Metrics.............................................

More information

django-dynamic-db-router Documentation

django-dynamic-db-router Documentation django-dynamic-db-router Documentation Release 0.1.1 Erik Swanson August 24, 2016 Contents 1 Table of Contents 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

Tastypie Documentation

Tastypie Documentation Tastypie Documentation Release 0.9.6 Daniel Lindsley, Cody Soyland & Matt Croydon August 03, 2013 CONTENTS i ii Tastypie is an webservice API framework for Django. It provides a convenient, yet powerful

More information

Django Admin Cookbook Release 2.0

Django Admin Cookbook Release 2.0 Django Admin Cookbook Release 2.0 Agiliq May 22, 2018 Contents 1 Django Admin Cookbook - How to do things with Django admin. 1 2 Text and Design 2 3 Calculated fields 10 4 Bulk and custom actions 17 5

More information

django-simple-sms Documentation

django-simple-sms Documentation django-simple-sms Documentation Release 1.0.0 Thibault Jouannic December 05, 2014 Contents 1 Philosophy 3 2 Compatibility 5 3 Example usage 7 4 Contents 9 4.1 Installation................................................

More information

django-geoip Documentation

django-geoip Documentation django-geoip Documentation Release 0.5dev coagulant March 02, 2017 Contents 1 Contents 3 2 Contributing 15 i ii App to figure out where your visitors are from by their IP address. Detects country, region

More information

django-oscar-paypal Documentation

django-oscar-paypal Documentation django-oscar-paypal Documentation Release 1.0.0 David Winterbottom May 30, 2018 Contents 1 Installation 3 2 Table of contents 5 2.1 Express checkout............................................. 5 2.2

More information

django-autocomplete-light Documentation

django-autocomplete-light Documentation django-autocomplete-light Documentation Release 3.0.4 James Pic & contributors March 05, 2016 Contents 1 Features 1 2 Resources 3 3 Basics 5 3.1 Install django-autocomplete-light v3...................................

More information

The Story of App-Loading

The Story of App-Loading The Story of App-Loading Aymeric Augustin - DjangoCon Europe 2014 From the Kunst- und Wunderkammer, Schloss Ambras, Innsbruck, Austria. Hello, I m Aymeric Core Developer since October 2011 Chief Technical

More information

kaleo Documentation Release 1.5 Eldarion

kaleo Documentation Release 1.5 Eldarion kaleo Documentation Release 1.5 Eldarion October 06, 2014 Contents 1 Development 3 1.1 Contents................................................. 3 i ii Provides a site with user to user invitations, working

More information

django-autocomplete-light Documentation

django-autocomplete-light Documentation django-autocomplete-light Documentation Release 3.0.4 James Pic & contributors March 08, 2016 Contents 1 Features 1 2 Resources 3 3 Basics 5 3.1 Install django-autocomplete-light v3...................................

More information

django-photologue Documentation

django-photologue Documentation django-photologue Documentation Release 3.1 Justin Driscoll/Richard Barran November 03, 2014 Contents 1 Installation & configuration 3 1.1 Installation................................................

More information

Django Phantom Theme Documentation

Django Phantom Theme Documentation Django Phantom Theme Documentation Release 1.1 Przemyslaw bespider Pajak for EggForSale Sep 28, 2017 Contents 1 Features 3 2 Authors and Contributors 5 3 Licence 7 4 Support or Contact 9 5 Instalation

More information

Tastypie Documentation

Tastypie Documentation Tastypie Documentation Release 0.14.0 Daniel Lindsley & the Tastypie core team Sep 27, 2017 Contents 1 Getting Started with Tastypie 3 2 Interacting With The API 9 3 Tastypie Settings 23 4 Using Tastypie

More information

django-polymorphic Documentation

django-polymorphic Documentation django-polymorphic Documentation Release 2.0.3 Bert Constantin, Chris Glass, Diederik van der Boor Aug 23, 2018 Contents 1 Features 3 2 Getting started 5 2.1 Quickstart................................................

More information

django-ratelimit-backend Documentation

django-ratelimit-backend Documentation django-ratelimit-backend Documentation Release 1.2 Bruno Renié Sep 13, 2017 Contents 1 Usage 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Ghana Summer 2012 Lecture DJ04 Django Views Simple Diagram HTTP Request Browser urls.py HTTP Request Model/Database Data Request Data

More information

Django urls Django Girls Tutorial

Django urls Django Girls Tutorial Django urls Django Girls Tutorial about:reader?url=https://tutorial.djangogirls.org/en/django_urls/ 1 di 6 13/11/2017, 20:01 tutorial.djangogirls.org Django urls Django Girls Tutorial DjangoGirls 6-8 minuti

More information

Django IPRestrict Documentation

Django IPRestrict Documentation Django IPRestrict Documentation Release 1.4.1 Tamas Szabo Nov 06, 2017 Contents 1 Table of Contents 3 1.1 Requirements and Installation...................................... 3 1.2 Configuration...............................................

More information

django-flickr Documentation

django-flickr Documentation django-flickr Documentation Release 0.3.0 Jakub Zalewski June 19, 2013 CONTENTS 1 Project links 3 2 Contents 5 2.1 Installation................................................ 5 2.2 Usage...................................................

More information

django-users2 Documentation

django-users2 Documentation django-users2 Documentation Release 0.2.1 Mishbah Razzaque Mar 16, 2017 Contents 1 django-users2 3 1.1 Features.................................................. 3 1.2 Documentation..............................................

More information

django-filer Documentation

django-filer Documentation django-filer Documentation Release 1.3.0 Stefan Foulis Nov 09, 2017 Contents 1 Getting help 3 2 Contributing 5 3 Contents 7 i ii django-filer is a file management application for django. It handles uploading

More information

guardian Documentation

guardian Documentation guardian Documentation Release 1.4.9 Lukasz Balcerzak Nov 18, 2017 Contents 1 Overview 3 1.1 Features.................................................. 3 1.2 Incoming.................................................

More information

Asynchronous WebSockets using Django

Asynchronous WebSockets using Django Asynchronous WebSockets using Django 2017-05-18 OUTLINE OF THE TALK WEBSOCKETS What is Websocket? Why are they important? DJANGO CHANNELS Introduction Changes to WSGI server EXAMPLE Django code Django

More information

django-scaffold Documentation

django-scaffold Documentation django-scaffold Documentation Release 1.1.1 James Stevenson May 27, 2015 Contents 1 Installation 3 2 Creating an app to extend scaffold 5 2.1 1. Create a new application........................................

More information

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Django Web Framework Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Overview Making the Front Page Creating the Template Creating View Functions Configuring URL Patterns Finishing

More information

django-auditlog Documentation

django-auditlog Documentation django-auditlog Documentation Release 0.4.3 Jan-Jelle Kester Jul 05, 2017 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

neo4django Documentation

neo4django Documentation neo4django Documentation Release 0.1.8-dev Matt Luongo Sep 09, 2017 Contents 1 Details 3 1.1 Getting Started.............................................. 3 1.2 Writing Models..............................................

More information

mozilla-django-oidc Documentation

mozilla-django-oidc Documentation mozilla-django-oidc Documentation Release 1.0.0 Mozilla Jun 12, 2018 Contents 1 Installation 3 1.1 Quick start................................................ 3 1.2 Additional optional configuration....................................

More information

Framework approach to building content management systems. Wednesday, February 20, 13

Framework approach to building content management systems. Wednesday, February 20, 13 Framework approach to building content management systems Andrew Kurinnyi @zen4ever https://github.com/zen4ever Monolithic CMSs Quick initial install Lots of features Plugins/extensions 3rd party themes

More information

f5-icontrol-rest Documentation

f5-icontrol-rest Documentation f5-icontrol-rest Documentation Release 1.3.10 F5 Networks Aug 04, 2018 Contents 1 Overview 1 2 Installation 3 2.1 Using Pip................................................. 3 2.2 GitHub..................................................

More information

django-teamwork Documentation

django-teamwork Documentation django-teamwork Documentation Release 0.0.1 Les Orchard Jun 11, 2017 Contents 1 Overview 3 1.1 What is django-teamwork?........................................ 3 2 Getting Started 5 2.1 Installation................................................

More information

Software Test Plan Version 1.0

Software Test Plan Version 1.0 Software Test Plan Version 1.0 3/23/2017 Team Name: Skyward Team Members: Gage Cottrell Justin Kincaid Chris French Alexander Sears Sponsors: Dr. Michael Mommert and Dr. David Trilling Mentor: Dr. Otte

More information

django-antispam Documentation

django-antispam Documentation django-antispam Documentation Release 0.2.0 Vladislav Bakin Mar 22, 2018 Contents 1 Documentation 3 2 Indices and tables 7 i ii django-antispam Documentation, Release 0.2.0 Various anti-spam protection

More information

TastyTopping Documentation

TastyTopping Documentation TastyTopping Documentation Release 1.2.5 Christian Boelsen August 10, 2015 Contents 1 Contents 3 1.1 Getting Started.............................................. 3 1.2 Authentication..............................................

More information

django-cas Documentation

django-cas Documentation django-cas Documentation Release 2.3.6 Parth Kolekar January 17, 2016 Contents 1 django-cas 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Tablo Documentation. Release Conservation Biology Institute

Tablo Documentation. Release Conservation Biology Institute Tablo Documentation Release 1.0.2 Conservation Biology Institute May 15, 2017 Contents 1 Tablo 3 1.1 What is Tablo?.............................................. 3 1.2 Goals...................................................

More information

django-modern-rpc Documentation

django-modern-rpc Documentation django-modern-rpc Documentation Release 0.10.0 Antoine Lorence Dec 11, 2017 Table of Contents 1 What is RPC 1 2 What is django-modern-rpc 3 3 Requirements 5 4 Main features 7 5 Quick-start 9 5.1 Quick-start

More information

django-push Documentation

django-push Documentation django-push Documentation Release 1.1 Bruno Renié Jun 06, 2018 Contents 1 Installation 3 2 Manual 5 2.1 Being a publisher............................................. 5 2.2 Being a subscriber............................................

More information

Unit 6 IoT Physical Servers, Cloud Offerings & IoT Case Studies. By Mahesh R. Sanghavi

Unit 6 IoT Physical Servers, Cloud Offerings & IoT Case Studies. By Mahesh R. Sanghavi Unit 6 IoT Physical Servers, Cloud Offerings & IoT Case Studies By Mahesh R. Sanghavi Content Introduction to Cloud Storage Models Communication API WAMP: AutoBahn for IoT Xively Cloud for IoT Python Web

More information

Python Schema Generator Documentation

Python Schema Generator Documentation Python Schema Generator Documentation Release 1.0.0 Peter Demin June 26, 2016 Contents 1 Mutant - Python code generator 3 1.1 Project Status............................................... 3 1.2 Design..................................................

More information