20 Jan, 17

Here’s another @WagtailCMS tip 4U: Use Specific() Method On PageQuerySet To Access Referenced Model's Field Data - http://timonweb.com/posts/use-specific-method-on-pagequeryset-to-access-referenced-models-field-data-in-wagtail-cms/

20 Jan, 17

Use Specific() Method On PageQuerySet To Access Referenced Model's Field Data in Wagtail CMS

Wagtail CMS provides a very handy content tree that really helps in organizing website's content hierarchy. The tree itself is powered by django-treebeard library (https://github.com/django-treebeard/django-treebeard). 

As a developer you should be aware of several handy methods that you can execute on any item of a ...

Read now
20 Jan, 17

@kennethreitz continues to humanise #Python🐍 libraries, this time he’s humanised subprocesses with his new https://github.com/kennethreitz/delegator.py check it!

19 Jan, 17

My patch adding Vimeo support to vue-video-player has been merged into master (https://github.com/surmon-china/vue-video-player), update to v2.5.0 #vue #javascript

18 Jan, 17

Note on installing Comodo Positive SSL on Nginx

Usualy, Comodo sends you an archive containing two files: example.crt and example.ca-bundle. In order to install your certificate on Nginx, you need to concatenate these two files at first:

1
  1. cat example.crt example.ca-bundle >> example.ssl-bundle.crt

Now, in Nginx config, link ssl_certificate property to resulting example ...

Read now
18 Jan, 17

Override Field Widget Attributes in a Django Form or How To Add Placeholder Attribute to Django Form Input

Let's say we have a contact form and we want to add placeholders to this form inputs so our rendered form has these cool input labels. How do we do that?

My form is a child of ContactForm class provided by django_contact_form module (https://github.com/ubernostrum/django-contact-form). The module ...

Read now
18 Jan, 17

Set Required and Optional Address Inputs for Address Field in Drupal 8

This one is dedicated to all my fellow Drupalers. There’s no better exercise for a brain than reading ancient chinese poetry taming Drupal 8. When I’m bored, I turn to Drupal!

Recently I got my Drupal 8 Address module updated and it turned out that from now on street address ...

Read now
17 Jan, 17

Top 10 #Python libraries of 2016 https://tryolabs.com/blog/2016/12/20/top-10-python-libraries-of-2016/

17 Jan, 17

🌐 Do you like to cheat and react? This basic #reactjs cheatsheet may be helpful: https://ihatetomatoes.net/wp-content/uploads/2017/01/react-cheat-sheet.pdf https://ihatetomatoes.net/wp-content/uploads/2017/01/react-cheat-sheet.pdf

17 Jan, 17

In case you didn't know, there’s #Wagtail CMS (🐧) admin styleguide available: http://timonweb.com/posts/theres-wagtail-cms-admin-styleguide-available/ #django