now browsing by tag
Django Unit Testing with Mocks
Unit tests shouldn’t be treated like lesser code. It should be as clean as possible and don’t ever hesitate when it comes to refactoring the unit test code. It can save you a lot of trouble in the long run.
Working on a django site
Working on a django site at work, it’s not bad, however still working with angularjs code after work and on the weekends.
HowTo: Setup pressureNET Analysis for Local Development
The pressureNET project is an Android app that collects barometric data. You can download it here. The backend server, pressureNET Analysis, is a Django app that stores the data that is collected by the Android app. The project is free/open source and is licensed under the GNU GPL (General PublicRead More
django-registration doesn’t have the best maintenance
I’ve been looking at using the django-registration library at work for one of our projects and initially, I was very very pleased. The project is written by a Django core developer so the code itself is excellent and the documentation is up-to-date and there are many others using it soRead More
First code patch submission in a long time…
UPDATE: It got in, the patch was reviewed, updated and added to the main code base. The developer even added my name to the credits! I submitted an issue to the Django Rest Framework project. There was a bit of a problem with the documentation’s example not reflecting the code.Read More
Mapping Django ideas to Java, Servlets and Struts
It’s been weird to consider the concepts in Java with servlets and the Struts web framework since I’ve been using Django and Python for the last year. http://stackoverflow.com/questions/17264522/how-do-django-concepts-map-to-java-servlets-struts-and-jsp-pages So I posted a question on Stackoverflow with an answer that describes how some Django concepts translate into Java web development concepts.
Presentation: Why PyCharm
Just created a short presentation for work about why I’m checking out the PyCharm IDE. I wrote a post earlier about it. Update: found a nice post by a VIM user who switched to PyCharm and found it awesome how integrated everything is.
Django: dumping and loading databases
At work (Trapeze Media), we have this situation where we want to dump the database from the production servers so that we can work with that data on our local development machines. As part of an internal app (which another developer is working on open-sourcing parts of, UPDATE: the appRead More