分类目录归档:

Just declare your own routes about glance at

That isn’t a beneficial microframework and is intended to be put withing a regular Django options since it is completely compatible with this new simple uses.

  • opinions announced very first commonly meets first. Stop claiming (r’^$’) earliest (in the begining off ) otherwise it will end other people off matching.
  • while using the numerous on a single glance at, the original applied (a decreased in the decorators stack) tend to meets first.
  • usually set since the Past decorator used (towards the top of your own designers heap).

Into basic one, the brand new came back dictionary could well be used because a framework (having RequestContext) in order to give brand new layout. To the next one, it would be serialised in order to JSON. The final one to will simply return the newest string.

Sexe allemand gratuit

The initial check was rendered given that-is when they gets a frequent Score demand. The following consider is made just for Blog post desires, however, will be enacted caused by brand new execution of one’s basic have a look at. The next consider would be made only for AJAX needs, so when JSON, however, would be passed the result of the latest execution basic examine.

Just remember that alternative viewpoints must accept perspective since a factor, as they will always receive the consequence of part of the check. 继续阅读