Recent posts
Tag: #json · 3 posts
Posted Jul 21
https://thinkster.io/topics/django Looking to build #fullstack apps with #Django? Looking to build a production ready Django #JSON#API? Building a Production Ready Django JSON API 🔸Setting up #JWT Authentication 🔸Profiles 🔸Articles 🔸Comments 🔸Following 🔸Favoriting 🔸Tagging 🔸Pagination 🔸Filtering 🔸Conclusion Configuring Django Settings for Production Building #Web#Applications with Django and #AngularJS 🔸Learning Django and AngularJS 🔸Setting up your environment 🔸Extending Django's built-in User model 🔸Serializing the Account Model 🔸Registering new users 🔸Logging users in 🔸Logging users out 🔸Making a Post model 🔸Rendering Post objects 🔸Making new posts 🔸Displaying user profiles 🔸Updating user profiles 🔸Congratulations, you did it!
Posted Jul 2
https://github.com/django-json-api/django-rest-framework-json-api #JSON#API support for #Django_REST_Framework
Hashtags
Posted May 4
# The standard string repr for dicts is hard to read: »> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee} »> my_mapping {'b': 42, 'c': 12648430. 'a': 23} # 😞 # The "#json" module can do a much better job: »> import json »> print(json.dumps(my_mapping, indent=4, sort_keys=True)) { "a": 23, "b": 42, "c": 12648430 } # Note this only works with dicts containing # primitive types (check out the "pprint" module): »> json.dumps({all: 'yup'}) TypeError: keys must be a string
Hashtags