Nerdy Dork
Dustin Davis reviews… the internet.
Category: Programming & Internet

Have you ever wanted to give your model some month choices relating to integers 1-12. I would guess it’s pretty common – common enough to be included in django.contrib. Well, it is. Here is a quick tip on how to include it in a model:

Disclaimer: I am not a sysadmin. I’m just a developer. I welcome and encourage comments to improve this process! I have set up a couple of Django servers lately and taken copious notes that I have extracted from various sources. Below are the commands I issue to a fresh Ubuntu server install to get Django [...]

I have been tasked with updating our real-time revenue stats at Neutron. After spending about a week going though and updating our PHP scripts I finally decided it would be worth my time and sanity to start from scratch with Python. I’m building a Django application that will store revenue stats from different sources, which [...]

I’ve been putting some time into updating an old site this weekend. I noticed that the homepage was taking a long time to load – around 5 to 8 seconds. Not good. I tried caching queries but it didn’t help at all. Then I realized it was most likely due to my decision long ago [...]

If you are hosting a Django site, Sentry will make your life easier. After my review of various hosting companies I decided to put EnvelopeBudget.com on Webfaction. But, I was still impressed with Digital Ocean so I kept my virtual server. Why not? It’s only $5 per month for full root access! Because all their [...]

Where do you fit on this scale? Sysadmin -> DBA -> Backend Programmer -> Frontend Programmer -> Designer I have a range in the middle, but lack on each end of the spectrum. So when it comes to setting up a hosting server, I’d rather turn it over to someone more experienced in the sysadmin [...]

I bought a Raspberry Pi after my GuruPlug died. I figured I’d use it for a ZNC bouncer. But then I bought a Mac Mini and starting using it instead. The Raspberry Pi just sat on my desk as I couldn’t think of a good enough reason to find time to tinker with it. Then [...]

I got a somewhat unique request on a project the other day. My client has a lead tracking system where his salesman input leads and often upload scanned documents to include with the leads. I implemented this all with standard Django forms and a formset wizard to input multiple files. My client was worried that [...]

I was recently asked to respond to the following questions: If we were to change our standards of what is taught in our computer literacy classes in high school, what would be 6-10 things that you think should be taught in the class? What should every high school student know about computing, software, applications, etc.? [...]

Part of the reason I don’t blog as much as I used to is not that I don’t have much to say, but rather it hurts too bad to say (type) it. I’ve been suffering with RSI or Carpal Tunnel off & on for over 10 years. I’ve visited doctors, bought all kinds of ergonomic [...]

Clicky