Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Vim for Python Web Development
Having a good environment setup is important for effective, fast and easy coding. We have different IDE's like eclipse, pycharm, sublime etc.. which are powerful and easy to use.IDE's like eclipse, pycharm, sublime etc.. are resource intensive as they run many features, this is not a problem if you have really great system with powerfull resources. -
Programming with Python: Decorators
Python decorators supports aspect-oriented programming. It is used to add or modify code in functions or classes. Using decorators will provide security, tracing, looking ..etc Let see an example:@fundecoratordef myfunc():print "This is my function" -
Publishing Python Modules with PIP via PyPi
We'll install so many packages in our day to day python development. Now in this blog post, we'll try to know how to create our own python module installable with PIP. PyPI is the default Package Index for the Python community. In this post will explain about how to develop and publish python packages to make those available to every one with develop pip install python packages. -
Python Web Scraping with Beautiful Soup
Download all One Piece animation series episodes by scraping site using BeautifulSoup python library. -
Converting Audio and Video Files Using FFMPEG Tool
FFMPEG is a command-line tool that converts audio or video to required formats, which handle multimedia data. It can also capture and encode in real-time. -
How to Generate PDF Files from HTML In Python Using PDFKIT
There are many approches for generating PDF in python. pdfkit is one of the better approache as, it renders HTML into PDF with various image formats, html forms and other complex printable documents. -
How to Access Development Server Publicly Using Localtunnel
We do need to expose our local server to hit call-back URLs while programming with other APIs. There is a tool called local tunnel from http://localtunnel.me/ and that does it for you for free with https. Now, what local tunnel is? Local tunnel allows us to easily share a web service on our local development machine without any server modifications. It will assign a unique URL which can be publicly accessible that will proxy all requests to our locally running webserver. -
Using Python Xlwt Generating CSV Writer and Excel Files
In most of the cases, you need to export the data from your database to different formats. In this post I will show you how to create functions in your Django applications which export data as files. Here I will be covering the mostly used formats: CSV and Excel. -
How to Create your Own E-Commerce Shop Using Django-Oscar
Oscar is an open-source eCommerce framework for Django. Django Oscar provides a base platform to build an online shop. Oscar is built as a highly customisable and extendable framework. It supports Plug-gable tax calculations, Per-customer pricing, Multi-currency etc. -
Generating PDF Files in Python Using Xhtml2pdf
There are many ways for generating PDF in python. In this post I will be presenting PDF files generation with xhtml2pdf.xhtml2pdf: xhtml2pdf is a HTML/CSS to PDF converter written in Python and therefore platform independent. xhtml2pdf supports for frameworks like Django and simple integration into Python programs. It is also usable as stand alone command line tool.pisa: pisa is a html2pdf converter using the ReportLab Toolkit, the HTML5lib and pyPdf. -
Running Django with PyPy to Boost Performance
Running Django with PyPy to boost performance -
Django PayU Payment Gateway Integration
In this blog, we will see how to integrate Django and PayU Payment Gateway. To integrate with PayU, we have package called "django-payu" - a pluggable Django application.GitHub Repository: django-payuDocumentaion: django-payu.readthedocs.org -
Extract Data from PDF and all Microsoft Office Files in Python
The quick way to get/extract text from PDFs in Python is with the Python library "slate". Slate is a Python package that simplifies the process of extracting text. In this post, we will see how to get/extract from pdf's. -
Google Plus API Integration with Django
Using GPlus integration by Django, we can get the user verified email id, general information, friends in a less span of time, and user can also share articles. -
Integrate Django-Oscar-Accounts with Django-Oscar
This package uses double-entry bookkeeping where every transaction is recorded twice (once for the source and once for the destination). This ensures the books always balance and there is full audit trail of all transactional activity. -
How to Customize Django Oscar Models, Views and URLs
In order to customize models, views and urls, you need to fork an Oscar core app in which model/view resides. Then you should be able to override any model/view classes.Steps to fork/customize an app: -
Python Memcached Implementation for Django Project
Memcache is a memory caching system that helps web applications and mobile app backends to improve performance and scalability. We should consider using Memcache when your pages are loading too slowly or your app is having scalability issues. In This Blog Post, Let's see how to use Memcached for server-side application caching. -
CORS with Amazon S3 and CloudFront
We struggle to load fonts from CloudFront because of CORS.CORS - Cross Origin Resource Sharing is a security measure to block macious scripts or resources loading from foreign domain origins. This security will become hurdle when want to load resources from Amazon CloudFront this is often encountered when we want to load fonts from CloudFront. Here are simple yet detailed steps to enable CORS on CloudFront. -
Amazon AWS IAM Roles and Policies
When You want to Provide access to Amazon Web Services Console or if you're planning to provide REST API Keys to your Developers of a Third Party Person, Using Providing access to Root Account Console or API Keys is not advisable since they basically will have full level access. Instead, we can rely on IAM(Identity and Access Management). Require any support regarding AWS IAM Roles and Policies then contact development services to know more -
Generic, Functional Based and Class Based Views in Django REST Framework
Writing Different Types of Views in Django-Rest-Framework.Writing Different Types of Views in Django-Rest-Framework. Django-Rest-Framework(DRF) supports three different types of views. They are Function Based Views, Class Based Views / Generic Views, ViewSets -
Amazon SES - Handling Bounces and Complaints
Why do we go for Bounce and Complaint Handling while sending emails?In general while sending emails, we will prepare some recipient addresses as our mailing list, which is valid and our recipients want and expect our mail. But sometimes, some emails which are invalid will bounce, and if valid recipients do not want your mail, they may mark your email as spam in their email client. High bounce and complaint rates put your account at risk of being shut down. So in order to avoid such problem, we'll handle the bounces and complaints and will remove those emails for not sending any emails further. -
Python Coding Techniques and Programming Practices
Coding techniques and programming practices are one of the features of a professional programmer. While writing code to solve a problem programmer should make simple choices and have to use basic techniques. This is completely depends on the programmers skill and expertise and how wisely he make choices. -
Django Hosting on Amazon EC2 with Wordpress on Same Domain
Configuring the Wordpress as subdirectory can be tricky. In this tutorial, we will Setup a Django Website alongside a WordPress blog. Our Site Structure will beexample.com ------------> Django Websiteexample.com/blog -----------> wordpress -
Django Custom Template Tags And Filters
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. -
Introduction to Object Oriented Programming with Python 3
Introduction to Object Oriented Programming with Python