http://stackoverflow.com/questions/16231183/django-how-to-override-clean-method-in-a-subclass-of-custom-form

 class SubClassForm(MyCustomForm):
# ... additional form fields here def clean(self):
# Then call the clean() method of the super class
cleaned_data = super(SubClassForm, self).clean()
# ... do some cross-fields validation for the subclass # Finally, return the cleaned_data
return cleaned_data

最新文章

  1. input上传按钮美化
  2. matlab中patch函数的用法
  3. Access is denied
  4. 遭遇OutOfMemoryError
  5. C语言通用双向循环链表操作函数集
  6. ionic本质
  7. C++中this指针的用法详解
  8. OpenStack点滴02-WSGI
  9. lucene定义自己的分词器将其分成单个字符
  10. Codeforces Round #312 (Div. 2)
  11. Nape "不动"刚体的碰撞交互
  12. JAVA基础--super关键字
  13. LeetCode算法题-Min Cost Climbing Stairs(Java实现)
  14. PEP525--异步生成器
  15. Tomcat 配置目录
  16. Python3 里面的线程池
  17. LeetCode Permutations问题详解
  18. 手把手在MyEclipse中搭建Hibernate开发环境
  19. 主机 & 虚拟机 & 开发板 相互通信
  20. java基础篇---文件上传(smartupload组件)

热门文章

  1. POJ 2923 Relocation 装车问题 【状态压缩DP】+【01背包】
  2. Springboot 2.0.x 引入链路跟踪Sleuth及Zipkin
  3. VB.NET只允许打开一个实例
  4. 你还在为无法完美卸载SQL Server 2008 R2而烦恼吗?
  5. [CodeVS4438]YJQ Runs Upstairs
  6. startup.bat闪退问题
  7. ssm中从页面到controller和数据库出现乱码问题的解决
  8. File构建实例的路径:绝对路径和相对路径
  9. Java学习(一)--面向对象(一)
  10. Selenium2+python自动化73-定位的坑:class属性有空格