Coding

Fix Django Rest Framework Tracking (drf-tracking) errors with Django model FileField

I was working recently on logging Django Rest Framework (DRF) requests and responses and also creating a download endpoint so I can protect files from being accessed by other users with the ability log requests to see who's downloading what. So I came across this awesome DRF plugin called drf...
admin

Saving foreign key ID with Django REST framework serializer

16 Feb 2018, 04:11 PM
If you are using Django REST framework on serving your APIs, you probably did the below code in returning the related object in your serializer. class MyTableSerializer(serializers.ModelSerializer): user = UserSerializer(many=False, read_only=True) class Meta: fields = '__all__' model = MyTable But...

Display Playstation Network (PSN) Public Trophies on your Drupal 8 site

05 Feb 2018, 09:14 AM
I've been recently searching for a Drupal 8 module that can integrate and display my Playstation profile but I can't find one. So, I created one. Feel free to use it on your own Drupal 8 sites. Here's how: Manual Download Download the Drupal 8 module https://www.drupal.org/project/psn_public...