atlas news
    
Kogan : Django
09  novembre     03h40
Debugging Celery Issues in Django
Alec McGavin    Lockdown has ended in Melbourne and we’re able to resume mingling, gossiping, and chattering. Just before we could get off our seats and out the door though, Celery our distributed task queue jumped the gun and had us all scratching our heads on a recent issue we uncovered at Kogan. Most Django...
28  avril     00h09
Custom Relationships In Django
Alec McGavin    Before working with Django at Kogan I used SQLAlchemy. One of the many features I liked about SQLAlchemy was you had the freedom to join tables on any clause. This is especially useful for when you have a not quite normal schema and the data almost matches, for example, matching a...
01  juin     12h59
Django Test Splitting on Circle CI
Josh Smeaton    Django Test Splitting on Circle CI One of the most important things you can do for your development teams’ productivity is to shorten the feedback loop during development. This applies to getting feedback from customers or stakeholders to ensure you’re building the right thing, as much as...
07  août     04h50
Making Heroku Subdirectories Easier
Jake Barber    To keep your codebase clean, it helps to have a separation of concerns. But how do we do this for Heroku applications
05  juin     13h16
Monitoring Celery Queue Length with RabbitMQ
Josh Smeaton    Earlier this week Matthew Schinckel wrote a post about how he monitors Celery queue sizes with a Redis backend. RabbitMQ https: www.rabbitmq.com is also a popular backend for Celery, and it took us a long time to get good visibility into our task queues and backlogs. So we’d like to...
07  mai     04h30
Management Command Aliases
Josh Smeaton    Django Management Commands A quick minor efficiency tip for today that’ll make your life at the Django command line incrementally better. You’re using django extensions in your project, right If not, go and rectify that problem immediately. The best featureâ that django extensions...
08  janvier     01h05
Django on Kubernetes
Josh Smeaton    This is part of our Kubernetes hackday series. Part goes over how we spent the day and what the goals and motivations are. For part, we’re going to delve into the architecture required for running a Django application on Kubernetes, as well as some of the tooling we used to assist...
23  août     12h06
Faster Django Tests by Disabling Signals
Josh Smeaton    Django signals are a form of Inversion Of Control that developers can use to trigger changes based usually on updates to models. The canonical example is automatically creating a UserProfile when a User instance is created: from django.conf import settings from django.db.models.signals import...
11  juin     11h37
Kogame (Koh-Gah-Mi) - A real time game in Django
Josh Smeaton    For our March hackday this year we decided to build a multiplayer game using Django Channels https: channels.readthedocs.io en latest . We’ve been keeping an eye on channels over the time, and thought with the release of channels . that it was the right time to dive in and get...
28  juillet     05h32
A Smarter, local-memory Django cache backend.
Josh Smeaton    Caching is one of the best strategies you can use when tuning the performance of your website. A lot of work goes into minimising the number of database queries for any given page, and making the queries that do hit the database efficient. But the best query is the one that’s never executed ...
24  décembre     02h40
Going too deep with Django Sessions
Michael Cooper    The other day I was battling with some weird behaviour where a key in a session was updated, but sometimes it would revert after a while. The key in question was a flag to say that a customer had been sent an email about abandoning their cart, and when the key reverted they ended up ...
28  septembre     05h29
A hidden gem in Django 1.7: ManifestStaticFilesStorage
Nam Ngo    The biggest change in Django . was the built in schema migration support which everyone is aware of, however . also shipped with lots of other great additions, ManifestStaticFilesStorage the new static files storage backend was one of them. Static file caching is everywhere Before...
27  août     00h38
Catches when Expecting Exceptions in Django Unit Tests
Dylan Leigh    To cover all bases when writing a suite of unit tests, you need to test for the exceptional cases. However, handling exceptions can break the usual flow of the test case and confuse Django. Example scenario: unique together For example, we have an ecommerce site with many products serving...
08  février     01h15
Kogan Django Heros - Supporting the Django Fellowship Program
Goran Stefkovski    We’re happy to announce that Kogan.com has donated , . to the Django Fellowship project. It’s no secret the Kogan.com tech team are fans of Django we’ve previously donated , . .Read on to find out why we use Django...
24  janvier     18h24
Tips for writing unit tests for Django middleware
Nam Ngo    Django framework provides developers with great testing tools and it’s dead easy to write tests for views using Django’s test client. It has extensive documentation on how to use django.test.Client to write automated tests. However, we often want to write tests for components that we have no...