Re: How to handle model constants

2015-02-22 Thread Thomas Rega
Hi, I do not know if this approach is better but I am using https://pypi.python.org/pypi/django-enumfield/ for such kind of fields. Just my 2 cents Good luck 2015-02-23 7:23 GMT+01:00 Frankline : > Hi all, > > I am getting confused regarding the use of constants and would

How to handle model constants

2015-02-22 Thread Frankline
Hi all, I am getting confused regarding the use of constants and would be keen to know how the rest of you handle constants in your models. Ofcourse I could handle it easily similar to how it has been handled here:

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Vijay Khemlani
Well, I think you can continue posting the updated code here or pastebin or in the stackoverflow question, where other people can suggest solutions. What is the complete message you are getting in your syntax error? can you upload your whole forms.py into pastebin or something? Regards On Sun,

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Ronaldo Bahia
Vijay, For some reason, I'm getting SyntaxError with self.cleaned_data in forms.py I'd like you to teach me how to make this. I have no problem to share my project code. Do you think we can make it? Please, email me so we can discuss about it or add me in skype: bahiamartins Thanks very

Re: Django Tutorial Equivalent to Ruby on Rails Tutorial by Michael Hartl

2015-02-22 Thread Lane Campbell
Zach, I am new to software development, I've spent years on the other side of the spectrum working in telecom and infrastructure. I joined this group to learn more about Python and Django. A developer I spoke with last week at Chicago Python (chipy.org) meetup event introduced me to the

Re: Django Tutorial Equivalent to Ruby on Rails Tutorial by Michael Hartl

2015-02-22 Thread Zach Swift
I realize this post is several years old, but this is for anyone still looking for an up to date Django tutorial on par with Michael Hartl rails tutorial. Here it is: The title of the book is very deceiving. Its a book about web development with python using django but doing it with test

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Ronaldo Bahia
Thanks. I will check this and let you know if it works. > Em 21/02/2015, às 20:49, Vijay Khemlani escreveu: > > If both forms are used in the same view, I see little reason to make them > separate and ModelForms, the form class I put above should be a better choice. > >

Re: confirm_login_allowed in subclassed authentication returns wrong error message

2015-02-22 Thread Tomáš Sekanina
Apologies, my mistake after all (as it is usually:)). I've just finally found out that the login function from django.contrib.auth uses my own template where this message is displayed whenever there is error in the form. Dne úterý 17. února 2015 21:00:15 UTC+1 Tomáš Sekanina napsal(a): > >

Re: Recommended monitoring tools for Django

2015-02-22 Thread Cal Leeming
Or just use Pingdom? Unless you're doing some complex checks, I wouldn't recommend writing your own checking scripts, because then you need to worry about deploying that and ensuring its up and running etc.. Checks of checks of checks. Fun :) Cal On Sun, Feb 22, 2015 at 3:43 PM, Larry Martell

Re: Recommended monitoring tools for Django

2015-02-22 Thread Larry Martell
On Sun, Feb 22, 2015 at 8:17 AM, Guy Tamir wrote: > Hi all, > > I'm looking for recommended tools to monitor my Django server. > I'm deploying to Heroku. > > Not sure what I should expect from the tool, the only thing I really need > (the reason I started searching for a

Re: Recommended monitoring tools for Django

2015-02-22 Thread Ezequiel Bertti
I'm not using Heroku, But I use two tools: http://newrelic.com/ https://www.getsentry.com/welcome/ They have free account for small project On Sun, Feb 22, 2015 at 10:17 AM, Guy Tamir wrote: > Hi all, > > I'm looking for recommended tools to monitor my Django server. >

Recommended monitoring tools for Django

2015-02-22 Thread Guy Tamir
Hi all, I'm looking for recommended tools to monitor my Django server. I'm deploying to Heroku. Not sure what I should expect from the tool, the only thing I really need (the reason I started searching for a tool) is a way to set an API endpoint on my server and have the monitor check to see

Re: [GSOC] Django-based project for the neuroinformatics community: neurostars.org

2015-02-22 Thread Roman Valls Guimerà
Hello Django users! The previous edition of this Google Summer of Code proposal for INCF was a success! Paolo Coffetti did an excellent job with the site and codebase: http://painl.es/2014/05/02/gsoc-proposal/ For this year's edition, chances are that the project will be continuing and