首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Django自动的URL发现(如Ruby on Rails)

Django自动的URL发现(如Ruby on Rails)

  • 资源大小:11.51 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: django url rubyonrails 自动 发现

资 源 简 介

Moved to Github! https://github.com/zeraien/django-url-framework/ The django-url-framework will help you get your django applications done faster. It automatically detects urls in a django application, similar to the way Ruby on Rails does it with the Controller-Action-View implementation. Controllers are created in each django application with a predefined file naming scheme (foo\_controller.py) and extending ActionController. The ActionController contains methods often used in a web context, and does common request-related processing. Each application can have multiple controllers thus allowing for smaller classes in a larger application. Each function not starting with an underscore becomes it"s own action. By simply returning a dictionary from the action, it will be rendered with the template named using the controller/action.html naming scheme. Each action and controller can ove

文 件 列 表

django-url-framework
django_url_framework
INSTALL
README
setup.py

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.214073s