11:19, schrieb Benjamin Wolf:
Hi,
I just set up my local dev server (python 2.6 and django 1.1.1) and
it's seems to be very slow.
An ajax request what takes online about 0,2 seconds needs more than
2,2 seconds on my dev server.
Also when browsing the site it is very slow.
It's my first dev server so I
Hi,
I just set up my local dev server (python 2.6 and django 1.1.1) and it's
seems to be very slow.
An ajax request what takes online about 0,2 seconds needs more than 2,2
seconds on my dev server.
Also when browsing the site it is very slow.
It's my first dev server so I can't compare to
Hi Russ,
thank you so much for your answer - it works fine, and it's really easy.
I really have to think different next time ;)
Greets,
ben
Am 14.01.2010 01:05, schrieb Russell Keith-Magee:
On Thu, Jan 14, 2010 at 7:56 AM, Bw. wrote:
Hi guys,
I'm trying to realize a
Hi Daniel,
thanks for your reply - yes indeed it was the server restart.
I found it out a while after writing this post, but I still don' know
why a apache restart is needed?
Maybe somebody can give me a short explain
thx a lot ;)
Daniel Roseman schrieb:
> On Dec 8, 1:54 pm, Benjamin W
Hi there,
I've just put my first little django app online (at webfaction) and I
have the problem that when I change my database connection in the
settings.py,
the application always tries to connect with my old connection data.
I just got no idea what I could try to fix this, hope you have a
Hi Steve,
thx for the hint with de debug toolbar, very nice.
It's working now,
greets ben
Steve Howell schrieb:
> On Nov 28, 8:36 am, Benjamin Wolf <b...@shs-it.de> wrote:
>
>> Hi,
>>
>> I'm trying to create a query like this with django:
>> SELECT cou
Hi,
I'm trying to create a query like this with django:
SELECT count(*) As total FROM `disposal` group by(salesman_id)
This gives me the number of total sales for every salesman.
In django I tried this:
data = Disposal.objects.annotate(total=Count('salesman'))
print str(x[0].total)
But total is
Hi there,
I need another decimalField / floatField format (',' instaed of '.')
I've found this:
http://groups.google.com/group/django-users/browse_thread/thread/9ff4db80932d334f
But I ask myself if there isn't a simpler method for such a common task.
(Like setting the input format for a
Hi,
use a normal form and do it like this:
shipping_character = forms.CharField(error_messages={'required': 'Your
game character name'}, label='Charakter Name')
dr.NO schrieb:
> Hi,
>
> How can i display field name using verbose_name not just field name in
> validation of ModelForm ?
>
> For
>>>
>>> On Nov 20, 3:52 am, leoz01 <leozleo...@gmail.com> wrote:
>>>
>>>> I think the easiest way is to make your own widget or otherwise you
>>>> can make your own form field.
>>>>
>>>> On 19 n
Hello,
I'm trying to create a select with the django query set which should
give me the same result like this sql statement:
SELECT distinct(YEAR(`mydate`)) FROM `table`
I've tried it for a while but don't get it.
Something like
self.fields['field'].choices = [('x', 'x') for disp in
Hello,
I'm using Django's form and ModelMultipleChoiceField.
ModelMultipleChoiceField produces a select list with multiple options.
Is it possible to use
checkboxes instead?
Thanks,
Greets Ben
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
might
> be a problem with your class/python-code vs what might be wrong at the
> template level.
>
> On Nov 18, 9:27 am, Benjamin Wolf <b...@shs-it.de> wrote:
>
>> Hi there,
>>
>> I'm using a ModelForm and had the wish to use fieldsets.
>> After a shor
Hi there,
I'm using a ModelForm and had the wish to use fieldsets.
After a short search I've found this:
http://pypi.python.org/pypi/django-form-utils/0.1.5
Seems to be what I want. So I've installed it and changed my form from
ModelForm to BetterModelForm.
It works so far, but when I try to
Thanks Jeremy, got it.
jeremyrdavis schrieb:
> The document root specified in urlpatterns should match the directory
> where your files are located. You have "/mysite/media/" in your
> urlpatterns and "C:\django_projects\mysite\media" in your post. Make
> sure those match.
>
>
> On Nov 18, 6:56
15 matches
Mail list logo