Viewing posts by lee

Comments in Mezzanine, part III

In the previous two posts of this series, I tried to give a base understanding of the Mezzanine comments system and to show you how to paginate your Mezzanine comments (e.g. for a blog post). In this part of the series, I will show you how to use AJAX ...

Read more

Comments in Mezzanine, part II

In my previous post on Mezzanine comments, I tried to give a walk-through of how comments for an object work in Mezzanine. In this post, armed with that knowledge, I will show you how you can get paginated comments for your Mezzanine blog (or indeed any other object you want ...

Read more

Comments in Mezzanine, part I

Mezzanine is a CMS based on the Django framework. Like any CMS such as Wordpress, it gives the user an interface for managing blog posts, form data, pages and many other types of content. It also has an active community, which takes the form of an IRC channel and a ...

Read more

Adjusting the interval of a periodic task at runtime with Celery and Django

Sometimes you may have a periodic task being managed by Celery. A typical example is you are polling some API every minute to get data you would like to use on your website. Setting up a periodic task with Celery and Django in this manner is reasonably well documented, so ...

Read more

Testing Django site is responsive

These days with the emergence of smart phones and tablets, it's important to design your site in a responsive way; that is to say make it suitable for display on numerous devices. This is where applications like screenfly come in handy, allowing you to test the responsiveness of websites ...

Read more