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:

2d
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
2d
revised How to get the URL of an image uploaded via django-ckeditor's RichTextField?
added 24 characters in body
Apr
22
reviewed Close Rewrite complex business rules in C#
Apr
22
reviewed Leave Open Error on import statements while integrating Test Link through WebDriver Java
Apr
22
reviewed Close how can i add 2 activity in an existing app?
Apr
22
reviewed Close Relational algebra, TRC, DRC relational calculus
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
Apr
22
revised Celery ImportError: No module named backends.database
added 76 characters in body
Apr
22
comment Can't get ModelForm to show in template - Django
You should also install django-debug-toolbar as it will allow you to see what variables are being sent to the template from the view (and therefore be able to see if your template is getting the form)
Apr
22
comment Can't get ModelForm to show in template - Django
It probably won't affect anything, but you have verbose_name=('First Name') in your model where it should be verbose_name=_('First Name') (note the underscore was missing)
Apr
22
answered django - unique_together change - any danger in prod db?
Apr
22
revised When should I use a custom Manager versus a custom QuerySet in Django?
deleted 5 characters in body
Apr
22
revised When should I use a custom Manager versus a custom QuerySet in Django?
added 233 characters in body
Apr
22
answered When should I use a custom Manager versus a custom QuerySet in Django?
Apr
22
comment Django form get_or_create
I dont' understand the question. You can use OrganizationInfo.objects.get_or_create and it will either create the object return it from the DB. At the moment you are just using get which won't ever create a new instance. To get an object's id you simply use object.id or object.pk
Apr
21
comment ImportError: No module named bootstrap3 even while using virtualenv
Are you running the development server via python manage.py runserver?
Apr
21
comment ImportError: No module named bootstrap3 even while using virtualenv
How are you running Django?
1 2 3 4 5