this is my bullet class in models.py: class Bullet(models.Model): id_bullet = models.AutoField(primary_key=True) content = models.TextField(help_text="Text field to enter content") fk_day = models.ForeignKey(Day, help_text="Day the entry belongs to") fk_rubric = models.ForeignKey(Rubric, help_text="Rubric the entry belongs to") fk_classification = models.ForeignKey(Classification, help_text="Classification the entry belongs to")
#returns the absolute url of the object --> dynamicly updates if urls.py is changed def get_absolute_url(self): return ('pyOrganize.pyworkbook.views.bullet.viewBullets', None, { 'day_id': str(self.fk_day), 'rubric_id': str(self.fk_rubric)}) get_absolute_url = permalink(get_absolute_url) #returns name of object -> Used for human identification in admin interface def __unicode__(self): return "Bullet "+str(self.id_bullet) and this is the server dump i get: Traceback (most recent call last): File "c:\Python25\lib\site-packages\django\core\servers \basehttp.py", line 279, in run self.finish_response() File "c:\Python25\lib\site-packages\django\core\servers \basehttp.py", line 318, in finish_response self.write(data) File "c:\Python25\lib\site-packages\django\core\servers \basehttp.py", line 397, in write self.send_headers() File "c:\Python25\lib\site-packages\django\core\servers \basehttp.py", line 449, in send_headers self.send_preamble() File "c:\Python25\lib\site-packages\django\core\servers \basehttp.py", line 379, in send_preamble 'Date: %s\r\n' % (formatdate()[:26] + "GMT") File "C:\Python25\Lib\socket.py", line 261, in write self.flush() File "C:\Python25\Lib\socket.py", line 248, in flush self._sock.sendall(buffer) error: (10053, 'Software caused connection abort') any help is appreciated --~--~---------~--~----~------------~-------~--~----~ 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 group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---