{{ name }}
+{{ request.method }} {{ request.get_full_path }}+
{% endautoescape %}
+ {{ content|urlize_quoted_links }}From 7f09b486d98bde69313cc1d30b620ecc77981eaf Mon Sep 17 00:00:00 2001 From: "xiaokong1937@gmail.com" <763691951@qq.com> Date: Tue, 6 Sep 2016 21:44:23 +0800 Subject: [PATCH] user-group edit serializer and url implement --- apps/templates/rest_framework/base.html | 285 ++++++++++++++++++++++++ apps/users/api.py | 7 +- apps/users/serializers.py | 8 + apps/users/urls.py | 2 + 4 files changed, 301 insertions(+), 1 deletion(-) create mode 100644 apps/templates/rest_framework/base.html diff --git a/apps/templates/rest_framework/base.html b/apps/templates/rest_framework/base.html new file mode 100644 index 000000000..7f5170a62 --- /dev/null +++ b/apps/templates/rest_framework/base.html @@ -0,0 +1,285 @@ +{% load staticfiles %} +{% load i18n %} +{% load rest_framework %} + + + +
+ {% block head %} + + {% block meta %} + + + {% endblock %} + +{{ request.method }} {{ request.get_full_path }}+
{% endautoescape %}
+ {{ content|urlize_quoted_links }}