-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from ekonstantinidis/templates-override
Fix overriding templates
- Loading branch information
Showing
5 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
include README.md | ||
include LICENSE | ||
include MANIFEST.in | ||
|
||
recursive-include rest_framework_docs/static * | ||
recursive-include rest_framework_docs/templates *.html | ||
global-exclude __pycache__ | ||
global-exclude *.py[co] | ||
global-exclude package.json | ||
|
||
recursive-exclude rest_framework_docs/static/node_modules *.* | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
prune rest_framework_docs/static/node_modules | ||
|
||
graft rest_framework_docs/static/rest_framework_docs | ||
graft rest_framework_docs/templates/rest_framework_docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.3' | ||
__version__ = '0.0.4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% extends "rest_framework_docs/base.html" %} | ||
|
||
{# Override this template in your own templates directory to customize #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters