New fish.

Picked up a lyretail anthias this weekend:

Read Full Post »

I did this for a site at work, and thought I’d make it public. This is a Horizontal CSS menu based on Nick Rigby’s CSS for a Horizontal Menu. The difference? This menu looks like tabs on the top rather than his original which was just a bar. Standalone Sample Listamatic has added a link […]

Read Full Post »

Fish Overboard!

Due to recent events (my green spotted puffer jumping into my overflow) I decided to create a screen to lay over the top of my fish tank. Even though I have a canopy, fish could still jump into the overflow, or out of the back of the tank onto the floor. To construct this, all […]

Read Full Post »

Some days I really love Django. We are getting really close to a product release on my current project…. and some last minute gotchas have come up. After having a ton of stuff done and working for months, and ready for testing, the requirement was given to me that we can not actually allow users […]

Read Full Post »

Django Validators

Well if anyone is interested in making a validator for oldforms in django, here is a sample of an SSN validator, as well as an EIN (employer identification number) validator. import re from django.core import validators ssn_re = re.compile(r”^(?P \d{3})[-\ ]?(?P\d{2})[-\ ]?(?P\d{4})$”) ein_re = re.compile(r”^(?P\d{2})[-\ ]?(?P\d{7})$”) EMPTY_VALUES=(”,None) def validate_ssn(field_data, all_data): “”” Validate data is a […]

Read Full Post »