Author gungorbasa
Recipients belopolsky, benjamin.peterson, gungorbasa, gvanrossum, nedbat, rhettinger
Date 2009-08-21.13:02:07
SpamBayes Score 1.9071e-06
Marked as misclassified No
Message-id <1250859729.11.0.20577036745.issue2516@psf.upfronthosting.co.za>
In-reply-to
Content
I am using Django with python to develope a web application.While I am
trying to syncronize and running the localserver, I get this issue(2516).
problem function is cagri()
Source Code:
from django.db import models
from datetime import datetime
from sets import ImmutableSet

class Randevu(models.Model):
   	def __init__(self):

		saatler=(
	        ('8',(8)),
	        ('9',(9)),
	        ('10',(10)),
	        ('11',(11)),
	        ('13',(13)),
	        ('14',(14)),
	        ('15',(15)),
	        ('16',(16)),
			    )


		ad=models.CharField(max_length=30)
	   	soyad=models.CharField(max_length=30)
	   	tarih=models.DateField()
	   	saat=models.TimeField(choices=saatler)
	   	konu=models.TextField()
	   	email=models.EmailField()
		t=cagri()
		t.cagir(saat)
	#r=Randevu()		
class duzen():
	def duz(saat):
		r=Randevu()
		fil=r.objects.filter(tarih__gte=datetime(2009,8,21))
		for saat in fil:
			if saat==fil.saat:
				error()	
class cagri():
	def cagir(saat):
		d=duzen()
		d.duz(saat)
History
Date User Action Args
2010-06-25 18:37:42belopolskyunlinkissue2516 messages
2009-08-21 13:02:09gungorbasasetrecipients: + gungorbasa, gvanrossum, rhettinger, belopolsky, nedbat, benjamin.peterson
2009-08-21 13:02:09gungorbasasetmessageid: <1250859729.11.0.20577036745.issue2516@psf.upfronthosting.co.za>
2009-08-21 13:02:07gungorbasalinkissue2516 messages
2009-08-21 13:02:07gungorbasacreate