MicroPyramid
Blog

A blog about Django, Python, mongo DB, LINUX, Amazon Web Services


LATEST BLOGS

Integration of 2checkout with django

Posted On 21 May 2015 By MicroPyramid

Payment Gateways which facilitate communication within banks and Security is an integral component of all payment gateways, as sensitive data such as Credit Card Numbers need to be protected from any fraudulent parties.We are having payment gateways like paypal,braintree,payumoney,2checkout... In this post,we will see how to integrate 2checkout with our django application.

Tracking your Product Sales, Views and Searches with Google Enhanced E-commerce Analytics

Posted On 13 April 2015 By MicroPyramid

Enhanced E-commerce helps improving tracking of an ecommerce website. It gives Statistics in variable measurements. It is not be used alongside analytics plugin, as this EE Plugin also tracks pages.

ELK Stack for Parsing your Logs- Part 2

Posted On 07 April 2015 By MicroPyramid

In Previous Tutorial we looked into Setting up EL Server which can ingest your Syslog files. In this Post, you will learn about pushing your Log Files to EL Server and How we will Display it in Kibana with Interactive Graphs.

Set Up Travis CI For Django project

Posted On 25 March 2015 By MicroPyramid

Travis CI is a continuous integration service used to build and test applications hosted at GitHub. Here are simple steps to add CI to you django project.

Get count, average, min, max values from model field using Django Aggregate

Posted On 25 March 2015 By MicroPyramid

To retrieve maximum, minimum or average values from group of rows we can use django Aggregation. For example to retrieve max price or avg price of product from catalogue.

ELK Stack for Parsing your Logs

Posted On 14 March 2015 By MicroPyramid

In This Tutorial we will look onto parsing your syslog files and store and display it in interactable website. We will be using ELK Stack for this purpose, before Jumping Into ELK Stack Lets see what each means

E - Elasticsearch: open source search and analytics engine, which stores data and relies on Apache Lucene for searching.
L - LogStash: Logstash is an open source data collection engine with real-time pipelining capabilities.

Sending emails using sendgrid on heroku for a Django App

Posted On 21 February 2015 By MicroPyramid

Integrate Sendgrid API to your Heroku app to deliver simplified emails like any notification emails, user signups etc.

How to implement Case Insensitive CSV DictReader in python

Posted On 15 February 2015 By MicroPyramid

In general use cases we upload the CSV files to the system to store huge amount of data by uploading single file. For example in e-commerce sites we just write thousands of products details in a CSV file and just upload it.

In python we can read the data of a CSV file in 2 ways. One by using normal csv.reader and the other by using csv.DictReader.

Django Custom Template Tags And Filters

Posted On 03 February 2015 By MicroPyramid

Django Template Tags are simple Python functions that accept a value, an optional argument, and return a value to be displayed on the page.
First, In your application folder, create a "templatetags" directory at the same level as the models and views.

You want this directory to be recognized as a Python package, so make sure you create an empty "__init__.py" file. Next, create the Python file that will hold your tags and name it something like app_tags.py.

jQuery mouse events and touch events

Posted On 26 January 2015 By MicroPyramid

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. Events handling and manipulating are different for mouse and touch events. You can use any custom function to do whatever you want to an event when triggered. These custom functions you wrote to happen while an event triggered are called Event handlers.

Need any Help in your Project?Let's Talk