danieldaeschle / swapy

Easy and modular web development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation for the Request class

opened this issue · comments


  • Bug
  • Feature
  • Question
  • Documentation issue

Documentation Feature

If you want to get the GET arguments on a URL, for example url:port/?foo=bar, there is no documentation on how to do this. At the moment the only way to find out how it works is by following the request back to its roots. At the end you land at the BaseRequest object from the werkzeug framework(?). There you find out, that the function (a cached_property function thing) is called args.
Please consider adding just a little documentation for cases like this.

Created a section in "Dive deeper". Content will coming soon.

Docs finished. Please check if it is okay.