Timmy O'Mahony

Dublin, Ireland

timmyomahony.com

Age: 28

I'm a web developer & programmer from Dublin, Ireland. I specialize in Python web applications, particularly Django.

Want to chat about a project? Send me an email:

  • hey@timmyomahony.com

Need help with your code? Find me on:

17h
awarded Popular Question
May
21
awarded Announcer
May
14
comment Invalid syntax error in Django form class
The error is very clear, you have invalid python syntax on line 5 of your forms.py
May
13
awarded Good Answer
May
12
revised How to make a slug field autocomplete in a form?
edited title
May
10
awarded Guru
May
6
comment Proper place for image generation in Django model
If the image is directly related to the model (i.e. the auto-generated text relies on another field in the model such as the name) I would create a model method to do this. Then you can easily to my_object.generate_logo(). Furthermore you could have an ImageField on the model then to get easy access to this newly generated image. How you run that method is up to you: you could dispatch a celery task from the form.save() or simply run is synchronously
May
6
answered css not loading in my login and admin page in django
May
5
awarded Enlightened
May
5
awarded Nice Answer
May
4
revised migrate model slug field to unique for existing database
added 13 characters in body
Apr
30
answered Start django liveserver with fixtures
Apr
30
comment How to debug intermittent errors from Django app served with gunicorn (possible race condition)?
Are you running out of resources/RAM? I notice in the gunicorn docs for the --max-requests it says "Any value greater than zero will limit the number of requests a work will process before automatically restarting. This is a simple method to help limit the damage of memory leaks." which might describe why this seems to fix the issue - you might have a memory leak somewhere (or just be using too much memory)
Apr
23
comment django.db.utils.ProgrammingError: relation already exists
Have you run syncdb? If so, that has already created the table in the DB so this migration is trying to recreate. To skip it, run python manage.py migrate --fake
Apr
23
revised How to get the URL of an image uploaded via django-ckeditor's RichTextField?
added 24 characters in body
Apr
22
reviewed Leave Open Error on import statements while integrating Test Link through WebDriver Java
Apr
22
reviewed Close Python: Wrong function argument?
Apr
22
reviewed Close Stream- or datagram sockets for messanger app
Apr
22
comment Memcached set_many and get_many failing when trying more than 100 k,v pairs in django..why?
Is it a particularly massive dictionary? There is a 1Mb limit on objects docs.oracle.com/cd/E17952_01/refman-5.6-en/…
Apr
22
answered Not able to parse the remainder in django template
1 2 3 4 5