mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
8 lines
213 B
Python
8 lines
213 B
Python
from django.shortcuts import render
|
|
|
|
|
|
def test_base_template_with_no_context():
|
|
# base.html should be renderable with no context,
|
|
# so it can be easily extended.
|
|
render({}, 'rest_framework/base.html')
|