testappproj/templates/code.html
changeset 1 0eda880b3d25
parent 0 0b061d58aea3
child 3 34d0c21e3352
--- a/testappproj/templates/code.html	Mon May 17 22:33:59 2010 +0530
+++ b/testappproj/templates/code.html	Fri May 21 02:40:17 2010 +0530
@@ -23,7 +23,7 @@
 {% ifequal pu.classname "ProblemUser" %}{{ pu.solution }}{% else %}{{ problem.skeleton }}{% endifequal %}
 
     </textarea></p>
-    <input type="hidden" name="problem_id" value="{{ problem.key.id }}" />
+    <input type="hidden" name="problem_id" value="{{ problem.id }}" />
     <p><input type="submit" name="submit" value="Run" /></p>
   </form>