Re: Django's DecimalField represenation in admin as 0,00 values

2012-05-04 Thread orschiro
Thanks for your replies. Regarding the localize option, I tried to use it in my models.py [1]. However, I get the following error. Field.__init__(self, verbose_name, name, **kwargs) TypeError: __init__() got an unexpected keyword argument 'localize' [1] http://pastebin.com/9TkwWnNY Can

Re: Django's DecimalField represenation in admin as 0,00 values

2012-05-02 Thread orschiro
Anybody? On May 2, 11:07 am, orschiro <orsch...@googlemail.com> wrote: > I want to represent a price in my model in the form of 0,00. This is > the part of my model. > > price = models.DecimalField(max_digits=5, decimal_places=2, > default=Decimal('0.00')) > > H

Django's DecimalField represenation in admin as 0,00 values

2012-05-02 Thread orschiro
I want to represent a price in my model in the form of 0,00. This is the part of my model. price = models.DecimalField(max_digits=5, decimal_places=2, default=Decimal('0.00')) However, prices such as 2.10 are still represented as 2.1. The second issue would be to replace the . with a ,. However

Re: Running manage.py commands in Windows Power Shell

2012-03-19 Thread orschiro
, orschiro <orsch...@googlemail.com> wrote: > Hello Sam, > > Let's assume we're having the following script test.py containing > nothing more than a print statement and a raw_input. > > > print "Test" > raw_input() > > > When I launch test.p

Re: Running manage.py commands in Windows Power Shell

2012-03-18 Thread orschiro
t On Mar 15, 10:54 am, Sam Lai <samuel@gmail.com> wrote: > On 15 March 2012 04:35, orschiro <orsch...@googlemail.com> wrote: > > > > > > > > > > > Hello, > > > I have a question which is based on the discussion here: > > >

Re: Running manage.py commands in Windows Power Shell

2012-03-14 Thread orschiro
wrote: > On Wed, Mar 14, 2012 at 5:35 PM, orschiro <orsch...@googlemail.com> wrote: > > Hello, > > > I have a question which is based on the discussion here: > > >http://groups.google.com/group/django-users/browse_thread/thread/2333... > > > I'm work

Running manage.py commands in Windows Power Shell

2012-03-14 Thread orschiro
Hello, I have a question which is based on the discussion here: http://groups.google.com/group/django-users/browse_thread/thread/2333f5dc8d0674f0 I'm working on Windows 7 with the PowerShell. Python 2.7 and the path to django-admin.py is stored in my PATH variable. After creating a project I

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello Andrew, thanks for that detailed reply. :) So the key for development and deployment is a VCS such as SVN or Git? In short: Your developers are pushing the changes up to the branches on the stating server where a release is going to be created. Then it is going to be transfered to the

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello Daniel, so the projects could be as well on the users home path? It makes more sense for me to put them on the home path than anywhere else. On 15 Sep., 21:59, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Sep 15, 8:49 pm, orschiro <orsch...@googlemail.com> wrote: &

Re: How to organize django projects on a productive server?

2009-09-15 Thread orschiro
, 9:28 pm, orschiro <orsch...@googlemail.com> wrote: > > > Hello guys, > > > first, I know it is not that important how to do this but as I'm > > pretty knew and callow I'd like to know how some experienced users do > > that. > > > At the moment I have just a n

How to organize django projects on a productive server?

2009-09-15 Thread orschiro
Hello guys, first, I know it is not that important how to do this but as I'm pretty knew and callow I'd like to know how some experienced users do that. At the moment I have just a normal user account besides my root that stores all my django projects. Also my django trunk lives in there.

Development and deployment wit Git

2009-09-13 Thread orschiro
- on my local machine or on the server? I think it makes sense to have it on the local machine as I'm developing only for myself, but how do I get the project with its changes on my server? Very confusing. Thank you in advance. :) orschiro --~--~-~--~~~---~--~~ You

Re: interaction of django with paypal

2009-08-30 Thread orschiro
ror message: IndentationError at / ('unindent does not match any outer indentation level', ('/home/ orschiro/projects/test/download/views.py', 13, 50, "\telif (-1 == request.META.get('HTTP_REFERER')\n")) If this approach isn't working I may try your other suggestions but as I'm quite a newbie

interaction of django with paypal

2009-08-29 Thread orschiro
== 'POST': formular = form(request.POST) else: formular = form() return render_to_response('download/index.html', { 'form': formular, }) else: error message How could I do that? Thank you in advance. :) orschiro