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:

Jul
24
awarded Announcer
Jul
20
awarded Popular Question
Jul
19
awarded Yearling
Jul
19
awarded Yearling
Jun
30
comment django - making an ordered list admin page with buttons to adjust priorities
You could use django-suit to achieve this as it has a built-in ModelAdmin class that you can make use of to provide ordering in adin list views. The obvious caveat is that you will be using their skin, changing the look and feel of your admin area.
Jun
30
answered Django CBV - dealing with optional parameters in URLs
Jun
30
comment Django multiple view call at once
You would need to use ajax calls from the browser to the server to carry out the 3 steps, updating the front end at every response from the server
Jun
30
answered forms.ModelForm Restrict to User Who Created the Model
Jun
17
answered Use phone number to authenticate user in Django
Jun
9
awarded Good Answer
Jun
2
awarded Enlightened
Jun
2
awarded Nice Answer
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
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
4
revised migrate model slug field to unique for existing database
added 13 characters in body
Apr
30
answered Start django liveserver with fixtures
1 2 3 4 5