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
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
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
, 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
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:
>
> >
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
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
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
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:
&
, 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
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.
- 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
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
== '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
14 matches
Mail list logo