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:

5h
awarded Good Answer
Mar
23
awarded Popular Question
Mar
17
awarded Enlightened
Mar
17
awarded Nice Answer
Mar
13
comment Simple REST API not based on a particular predefined model
Models are a fundamental part of Django, that's why it's going to be hard to find tutorials that avoid them. You can talk directly to your database but you will be making life difficult for yourself, especially if you want to use Django rest framework which ties directly into the model system
Mar
13
comment How to modify django-ckeditor inline styles?
I noticed this question and then came across your Github issue: github.com/django-ckeditor/django-ckeditor/issues/152 which might be a useful link for others seeing this page
Mar
5
comment Django wkhtmltopdf Errno 13 Permission denied
Your web app server is most likely running as a different user
Feb
15
awarded Popular Question
Feb
12
comment django-pipeline django-compressor django-require, to combine javascript files (requirejs)
I have been using Grunt & Bower for frontend dependencies on a couple of Django (and otherwise) projects and would advise people to be wary. I have found that it can require an awful lot of additional learning and time to get set up right. I'd advise people to make sure they need (and are willing to maintain) the added overhead of a totally separate stack.
Feb
12
awarded Popular Question
Feb
7
comment How to handle a big views.py in Django?
No there isn't. Is there anything wrong with the approach outlined in that question?
Feb
7
comment Django: login to external api
You can use the cache to achieve this
Feb
7
comment How to make django stop caching templates but not static files?
How are you serving your files?
Feb
6
revised Django generic CBV queryset with request.user
added 16 characters in body
Feb
6
comment ListCreateAPIView object has no attribute '_default_manager'
Can you post the entire stacktrace?
Feb
6
comment How to track the length of a user session in Django
Your best bet is to run a celery task every X minutes that checks the session database to see which sessions have become expired. You could use the user_logged_out signal but that will obviously only work when a user expires their session manually by logging out, it won't work for sessions that expire due to inactivity
Jan
27
comment Paypal from within Django Admin
You can add custom views to the admin site
Jan
21
comment Django custom manager dont work
Just missing =: date_start__lt=datetime.datetime.now()
Jan
21
revised Django custom manager dont work
added 13 characters in body
Jan
21
comment Unable to make django-allauth work
sorry, meant python manage.py dbshell
1 2 3 4 5