Loading docs/ref/models/querysets.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1457,7 +1457,7 @@ call. Finally, a word on using ``get_or_create()`` in Django views: please make sure to use it only in ``POST`` requests unless you have a good reason not to ``GET`` requests shouldn't have any effect on data; use ``POST`` whenever a request to a page as a side effect on your data. For more, see `Safe methods`_ request to a page has a side effect on your data. For more, see `Safe methods`_ in the HTTP spec. .. _Safe methods: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.1 Loading Loading
docs/ref/models/querysets.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1457,7 +1457,7 @@ call. Finally, a word on using ``get_or_create()`` in Django views: please make sure to use it only in ``POST`` requests unless you have a good reason not to ``GET`` requests shouldn't have any effect on data; use ``POST`` whenever a request to a page as a side effect on your data. For more, see `Safe methods`_ request to a page has a side effect on your data. For more, see `Safe methods`_ in the HTTP spec. .. _Safe methods: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.1 Loading