23 Feb, 17

Make Your Developer's Life Easier By Reducing Number Of Opened Tabs in Pycharm

When coding, I often find myself overwhelmed by a number of opened tabs in my editor. I just seem to have opened every single .py file of a Django project. And it's kinda hard to find a way in this evergrowing of tabs.

Given that, I was really happy to ...

Read now
22 Feb, 17

New in Django 1.11: Template-based widget rendering

There's a very interesting change coming with Django 1.11 - Template-based widget rendering.

To make customizing widgets easier, form widget rendering is now done using the template system. In older versions, widgets were rendered using Python.

You can get more details about it from the form rendering API docs page ...

Read now
16 Feb, 17

See how colors are perceived in different cultures: http://seopressor.com/wp-content/uploads/2015/06/colour-culture1.png #ui #ux

10 Feb, 17

How To Export Django Model Data Along With Its Parent Model Data via dumpdata Command

Django dumpdata command lets us export model objects as fixtures and to store them in json / xml formats.

All is good and works fine until you need to export a model that is a child of a concrete model and shares two database tables (one for parent another is for the ...

Read now
10 Feb, 17

How Flexbox works — explained with big, colorful, animated gifs - https://medium.freecodecamp.com/an-animated-guide-to-flexbox-d280cf6afc35#.b40nyj8zz #css3

05 Feb, 17

I really like this chinese proverb: "The best time to plant a tree was 20 years ago and the second best time is NOW!" #justdoit

03 Feb, 17

Quick 🐍 tip on How To Find The Most Frequent Value In A #Python List: max(set(list_of_values), key= list_of_values)

03 Feb, 17

Checkout Lottie by @AirbnbEng - an open-source tool that makes adding animation to native apps a snap: https://medium.com/airbnb-engineering/introducing-lottie-4ff4a0afac0e #aftereffects

02 Feb, 17

A little tip for 🐧 @WagtailCMS fans: How To Remove Snippets Menu Item From Wagtail CMS Admin Menu http://timonweb.com/posts/how-to-remove-snippets-menu-item-from-wagtail-cms-admin-menu/ #django

02 Feb, 17

How To Remove Snippets Menu Item From Wagtail CMS Admin Menu

Put this hook into wagtail_hooks.py file of your Wagtail CMS app.

  1. from wagtail.wagtailcore import hooks
  2. @hooks.register('construct_main_menu')
  3. def hide_snippets_menu_item(request, menu_items):
  4. menu_items[:] = [item for item in menu_items if item.name != 'snippets']

Restart your server and you're done!

Read now