Posted On 22 January 2016 By MicroPyramid
Django provides the comfort database migrations from its version 1.8, with which we can avoid the usage of third party packages like south. Adding migrations to new apps is straightforward - they come preconfigured to accept migrations, and so just run make migrations once you’ve made some changes. But if your app already has models and database tables, and doesn’t have migrations yet or you got your migrations messed up, you’ll need to convert your app to use migrations.
Posted On 11 January 2016 By MicroPyramid
Ansible is a scripting language mostly used to automate installing applications, deploying apps etc..
You may think why learn new language if I can do the same using shell scripts, well that's ok but in my opinion ansible doesn't take much time to learn and shell scripts could become complex as the projects scale up. You can read afurther details over here(https://news.ycombinator.com/item?id=6431552).
Posted On 25 December 2015 By MicroPyramid
When you want to track your exception and log mesages in a UI rather than storing it in a file(which we usually do), we can use SENTRY. Sentry provides real-time crash reporting and exception tracking for your web and mobile apps.
Posted On 21 December 2015 By MicroPyramid
Django provides built in authentication which is good for most of the cases, but you may have needs that are being served with the existing system. For Ex: You want 'email' for authentication purpose rather than Django's username field and you want an extra field called 'display_name' as full name for the logged in User. To meet the above requirements, we need to customize Django's built-in user model or substitute a completely customized model.
Posted On 17 November 2015 By MicroPyramid
We all want our own domain name to be setup for cloud front instead of amazon default cloud front domain name. We need two things for that to happen.
1. DNS should be served from amazon Route53
2. SSL for our custom domain
Posted On 13 November 2015 By MicroPyramid
Configuring SSL is beneficial not only for security purpose but also for SEO too.
Linuxsoftware foundation's initiated a program called Let’s Encrypt to give ssl certificates for free and it is in preview state as of today. You can whitelist your domain by registering here. You can configure after getting confirmation from Let’s Encrypt team.
Posted On 05 November 2015 By MicroPyramid
Ecommerce solution providers like OpenCart, Magento Provide extensions to see Google analytics data in their own dashboards as graphs. whereas there are no such plugins availble in Python. In this tutorial, we will learn how to display google graphs in your website.
Posted On 04 November 2015 By MicroPyramid
This blog describes about how to work with django-plugins. Django Plugin is a Simple Plugin Framework for Django. By using django-plugins, you can make your app more reusable. By using it, you can define plugin points and plugins. It comes with many features like synchronization with database, plugins management from django admin and many more.
Posted On 23 October 2015 By MicroPyramid
Plan your tasks in a smart way to achieve success in your life. Here are some tips to help you work smarter so you can be more productive at work.
Prioritize your work/tasks to achieve success in your project, Prioritize your tasks based on client requirements. Any guy can work on a project, but the trick is to know how. Prepare your tasks like a list by priority wise on each day. Having priorities and knowing what they are will help you meet goals.
If you are new to Django Oscar, then you can read these blog posts to understand how to create your own e-commerce shop using django-oscar and how to customize django oscar models, views and url's.
Django Oscar Checkout Flow covers the most use-cases. You can skip ...