I am new comer I struggle to save a record using admin page .
What extra ethod should I add to save ContestScore record.
Thanks.
class School(models.Model):
school_name = models.CharField(max_length=30)
school_city = models.CharField(max_length=30)
coach_name = models.CharField(max_le
Django Version:1.5.2Exception Type:NoReverseMatchException Value:
Reverse for 'gradingstudent' with arguments '()' and keyword arguments
'{u'student_id': None, u'school_id': 1}' not found.
Exception
Location:/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py
in render, line
No this not add form and I verify it. I also use pk but it does not work
either.
On Saturday, September 21, 2013 7:38:52 AM UTC-5, Daniel Roseman wrote:
>
> On Saturday, 21 September 2013 04:44:33 UTC+1, Trung Nguyen wrote:
>
>> Django Version:1.5.2Exception Type:NoReverseMatch
I found it. Inside {%%} shoud use variable. Inthis case is
form.instance.id instead of {{form.instance.id}}
On Saturday, September 21, 2013 5:06:07 PM UTC-5, Trung Nguyen wrote:
>
> No this not add form and I verify it. I also use pk but it does not work
> either.
>
> On Satu
On Friday, September 20, 2013 10:44:33 PM UTC-5, Trung Nguyen wrote:
>
> Django Version:1.5.2Exception Type:NoReverseMatchException Value:
>
> Reverse for 'gradingstudent' with arguments '()' and keyword arguments
> '{u'student_id': None, u
form.schoolName }}
Enter Student Score
{% endwith %}
On Saturday, September 21, 2013 5:06:07 PM UTC-5, Trung Nguyen wrote:
>
> No this not add form and I verify it. I also use pk but it does not work
> either.
>
> On Saturday, September 21, 2013 7:38:52 AM UTC-5, Daniel Rose
I got this Error when I hit the submit from
'ManagementForm data is missing or has been tampered with']
class Course(models.Model):
course = models.CharField(max_length=30)
course_name = models.CharField(max_length=30)
class Student(models.Model):
first_name = models.CharField(
7 matches
Mail list logo