Coding

Saving foreign key ID with Django REST framework serializer

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...
admin

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

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...
admin

I'm now running in Drupal 8!

After years of waiting and contemplating, I finally jumped in. I still think Drupal 8 is lacking a lot of things but I think we are almost there. I even have created some simple modules for Drupal 8 to play around with it. Hopefully more and more modules will become more stable especially the...
admin