Using Environment Variables In Django

While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be … Read more

Adding Custom Model Managers In Django

A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default … Read more

Creating Feeds with Django

Django ships with built-in syndication feed generating framework, which is used to generate dynamic Atom and RSS feeds. RSS is an abbreviation for Really Simple Syndication, it’s a way to … Read more

Creating Sitemaps in Django

Django comes with baked-in functionality for generating sitemaps dynamically using the sitemap framework. A sitemap is an XML file that informs search engines such as Google, the pages of your … Read more

Managing Media Files in Django

In Django Media files are the files uploaded by users on the system. However, like static files media files shouldn’t be trusted. There are always security concerns when dealing with … Read more

Configuring Static Files in Django

Managing static assets such as CSS, Javascript, fonts are core components of any modern web application Django provides us a large degree of freedom and flexibility on managing and serving … Read more