Hi everybody! :) I have been migrating an app that I've been building for a while to the new 1.0 beta and ran into a problem that I can't figure out.
I have a class "Job" that has a field "number". Then I have a class "TimeEntry" with a ForeignKey to Job, in this field is use: to_field='number' to make easier data entry and referencing. This was working without a problem before, now when I add a TimeEntry object with a job number (I can add one without) it saves just fine but when I try to display it I get an ugly error: TemplateSyntaxError at /manage/jobs/timeentry/12/ Caught an exception while rendering: invalid literal for int() with base 10: '08-0001' In template /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/contrib/admin/templates/admin/includes/ fieldset.html, error at line 11 The change list works just fine and displays the right job number, which also displays the client it belongs to. Any ideas??? Thanks in advance!! =) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---