文章分类 - Taiga研究
本专栏主要是针对taiga的研究记录
摘要:from django import http from django.conf import settings COORS_ALLOWED_ORIGINS = "*" COORS_ALLOWED_METHODS = ["POST", "GET", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD"] COORS_ALLOWED_HEADERS =...
阅读全文
摘要:内置的commections有: 以下是taiga自定义的collections: 顺序链表 调用: 父类:
阅读全文
摘要:import itertools from collections import namedtuple from django.conf.urls import url from django.core.exceptions import ImproperlyConfigured from django.core.urlresolvers import NoReverseMatch f...
阅读全文
摘要:继承 SimpleTemplateResponse 调用:
阅读全文
摘要:django 的事务: transaction.py 调用:
阅读全文
摘要:class CreateModelMixin: """ Create a model instance. """ def create(self, request, *args, **kwargs): validator = self.get_validator(data=request.DATA, files=request.FILES)...
阅读全文

浙公网安备 33010602011771号