I am seeking vampire

2007-12-25 Thread [EMAIL PROTECTED]
I am seeking vampire I am farther and farther from the normal world Detail: http://kuavosguy.googlepages.com/I-am-seeking-vampire.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Performance of a django website

2007-12-25 Thread Dima Dogadaylo
On Dec 11, 8:37 pm, Richard Coleman <[EMAIL PROTECTED]> wrote: > 1. mod_python > 2. apache 2.2.4 > 3. I'm using funkload and ab to measure the requests per second of one > of the base pages within the dynamic part of the website > 4. When I hit a static page in the same way (using ab), I get

Re: editing an image with ModelForm

2007-12-25 Thread Malcolm Tredinnick
On Wed, 2007-12-26 at 09:46 +0530, Kenneth Gonsalves wrote: > > On 26-Dec-07, at 9:01 AM, Malcolm Tredinnick wrote: > > > > > > > On Wed, 2007-12-26 at 08:53 +0530, Kenneth Gonsalves wrote: > >> > >> On 25-Dec-07, at 7:53 PM, l5x wrote: > >> > >>> Hm, I didn't have this error with my

Re: editing an image with ModelForm

2007-12-25 Thread Kenneth Gonsalves
On 26-Dec-07, at 9:01 AM, Malcolm Tredinnick wrote: > > > On Wed, 2007-12-26 at 08:53 +0530, Kenneth Gonsalves wrote: >> >> On 25-Dec-07, at 7:53 PM, l5x wrote: >> >>> Hm, I didn't have this error with my PhotoForm. You can look at it >>> here:

Re: save method and many to many

2007-12-25 Thread Malcolm Tredinnick
On Tue, 2007-12-25 at 14:34 -0800, grassoalvaro wrote: > I was searching for solutions but i didnt find anything. > So, here is my problem. > > I have models, for example: > > class Photo(models.Model, helpers.AdminOptions): > name = models.CharField(default="", null=True, blank=True, >

Re: Check constraint in models

2007-12-25 Thread Malcolm Tredinnick
On Tue, 2007-12-25 at 14:34 -0800, [EMAIL PROTECTED] wrote: > Hello, > > Having the following (Postgre)SQL statement: > > CREATE TABLE Games ( > minPlayer integer NOT NULL DEFAULT 1, > maxPlayer integer NOT NULL DEFAULT 1, > CHECK (min_player <= max_player) > ) > > the consequent Model

Re: editing an image with ModelForm

2007-12-25 Thread Malcolm Tredinnick
On Wed, 2007-12-26 at 08:53 +0530, Kenneth Gonsalves wrote: > > On 25-Dec-07, at 7:53 PM, l5x wrote: > > > Hm, I didn't have this error with my PhotoForm. You can look at it > > here: http://groups.google.com/group/django-users/browse_thread/ > > thread/6693f3294e710eab > > when you want to

Re: Having avatar ImageField in UserProfile

2007-12-25 Thread [EMAIL PROTECTED]
Ok, I was able to get much of the stuff going...There's one main question I have now 1) I have an avatar field (ImageField type) in my form..and I want to check for a valid size of the avatar image in the clean_avatar(self) method of my form. How can I get access to the uploaded file and

Re: editing an image with ModelForm

2007-12-25 Thread Kenneth Gonsalves
On 25-Dec-07, at 7:53 PM, l5x wrote: > Hm, I didn't have this error with my PhotoForm. You can look at it > here: http://groups.google.com/group/django-users/browse_thread/ > thread/6693f3294e710eab when you want to change the photo in the form, when the form comes up is the filename of the

Re: Page not showing correct data

2007-12-25 Thread jeffhg58
After reloading the page the browser does not show the new data. Here is the odd thing, if I wait about 10 minutes before clicking on the link then the new data appears. Any suggestions? Jeff -- Original message -- From: l5x <[EMAIL PROTECTED]> > > After reloading

Re: Customizing date field of form

2007-12-25 Thread l5x
Maybe you should take a look at render(): http://code.djangoproject.com/browser/django/trunk/django/newforms/widgets.py#L44 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Page not showing correct data

2007-12-25 Thread l5x
After reloading the page (f5) browser shows new data? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this

Page not showing correct data

2007-12-25 Thread jeffhg58
Hi, In my site, the user has the ability to update an event. After the event is updated, the user is brought back to the event calendar page. Within the event calendar, there is a link for the event details. The problem I am having is that the event details page is showing the old data, even

Re: Template_utils - include_feed problem

2007-12-25 Thread dkiesow
Yeah - I am an idiot. Seveal hours spent on the loop - and I just had the var wrong. {% for title in items %} {{ title.title }} {% endfor %} Carry on. dk On Dec 25, 6:11 pm, dkiesow <[EMAIL PROTECTED]> wrote: > Probably an easy question - > > Trying to loop over the items returned by

Re: no one on the IRC?

2007-12-25 Thread Todd O'Bryan
If you can ever log on and not find Magus there, I'd be surprised. I think the IRC channel has a direct link to his brain. Which is, by the way, a good thing. He (and all the other people on the channel) are an amazing resource. Todd On Dec 24, 2007 9:32 AM, Empty <[EMAIL PROTECTED]> wrote: > >

importance nottice !!

2007-12-25 Thread [EMAIL PROTECTED]
dear subscribers, i would like to remind you our daily support to our member michael at the following link... thank u all ! http://www.publicpet.gr/michalis1984/vote happy new year and good luck each of you at your personal life! --~--~-~--~~~---~--~~ You

admin interface startup problems

2007-12-25 Thread Chris Haynes
Following the book, with today's svn checkout of django and a few necessary adjustments, I've gotten things to work until page 84, where I'm stuck in multiple ways. Help greatly appreciated. Trying to visit the admin site in Firefox I get AttributeError at /admin/ 'WSGIRequest' object

Template_utils - include_feed problem

2007-12-25 Thread dkiesow
Probably an easy question - Trying to loop over the items returned by include_feed in template_utils.feeds.py A manual call to: {{items.0}} returns: {'date': (2007, 12, 25, 11, 54, 46, 1, 359, 0), 'summary': u'dkiesow: Merry Christmas', 'link': u'http://twitter.com/

Check constraint in models

2007-12-25 Thread bruno . jacquet
Hello, Having the following (Postgre)SQL statement: CREATE TABLE Games ( minPlayer integer NOT NULL DEFAULT 1, maxPlayer integer NOT NULL DEFAULT 1, CHECK (min_player <= max_player) ) the consequent Model for Django would be: class Game(model.Models): min_player =

save method and many to many

2007-12-25 Thread grassoalvaro
I was searching for solutions but i didnt find anything. So, here is my problem. I have models, for example: class Photo(models.Model, helpers.AdminOptions): name = models.CharField(default="", null=True, blank=True, max_length=255) class Gallery(models.Model, helpers.AdminOptions):

Customizing date field of form

2007-12-25 Thread Nickolay S. Savchenko
Hi! I would like to create a form for model using ModelForms. Here's a code: class ContractForm(forms.ModelForm): date1=forms.DateField(required=False, input_formats=['%d/%m/%y', '%d.%m. %y', '%d/%m/%Y',

Having avatar ImageField in UserProfile

2007-12-25 Thread [EMAIL PROTECTED]
I am new to Django and python overall. The django experience thus far, has been great -- immensely satisfying. The only regret I have is not getting on the django bandwagon earlier. Anyways, as I've been trying to code away, I hit a stumbling block while using the newforms and imagefield. the

Re: django_site doesn't exist error

2007-12-25 Thread Alex Koshelev
Execute "./manage.py syncdb" to create django_site table. Hint: read error message to find solution. On 25 дек, 20:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > While I was following the chapter 12 (Session, Users and Registration) > of the Django book, I got "ProgrammingError at

Re: editing an image with ModelForm

2007-12-25 Thread Joseph Kocherhans
On 12/25/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > > using ModelForm for an ImageField, and following the documentation, I > find that all the other data gets transferred to the form except the > filename. The form loads with an error on the file input: 'this field > is

django_site doesn't exist error

2007-12-25 Thread [EMAIL PROTECTED]
While I was following the chapter 12 (Session, Users and Registration) of the Django book, I got "ProgrammingError at /accounts/login/ (1146, "Table 'djangodb.django_site' doesn't exist")" error when I went to "localhost:8000/accounts/login". I have " (r'^accounts/login/$', login)," in the

db-api question

2007-12-25 Thread sector119
Hi! I have model with some field: person_id - Integer, service_id - Integer, datetime - DateTime (timestamp) and some other. How can I get all _LATEST BY datetime field_ services for person_id = 130960 ?? I have to get only: 2 | 2007-12-25 16:15:20.006126+02 3 |

Re: editing an image with ModelForm

2007-12-25 Thread l5x
Hm, I didn't have this error with my PhotoForm. You can look at it here: http://groups.google.com/group/django-users/browse_thread/thread/6693f3294e710eab --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: ModelForm, ImageField and User

2007-12-25 Thread l5x
Thank you, I will check that. I wasn't aware of that possibility. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To