mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 14:10:25 +00:00
Amend setup configuration to include non-python package files (#769)
* Amend setup configuration to include non-python package files Fixes: #767 Adds locale files created in: #762 * Amend render tests to use templatetag Tests now use the public interface to render function. Addresses regression in test coverage caused by adding templatetag to wheel.
This commit is contained in:
parent
74ba152a67
commit
bd03eb6199
3 changed files with 6 additions and 1 deletions
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
recursive-include auditlog/templates *
|
||||
recursive-include auditlog/static *
|
||||
recursive-include auditlog/locale *
|
||||
|
|
@ -2,7 +2,7 @@ from django.test import TestCase
|
|||
from test_app.models import SimpleModel
|
||||
|
||||
from auditlog.models import LogEntry
|
||||
from auditlog.render import render_logentry_changes_html
|
||||
from auditlog.templatetags.auditlog_tags import render_logentry_changes_html
|
||||
|
||||
|
||||
class RenderChangesTest(TestCase):
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -10,11 +10,13 @@ setup(
|
|||
name="django-auditlog",
|
||||
use_scm_version={"version_scheme": "post-release"},
|
||||
setup_requires=["setuptools_scm"],
|
||||
include_package_data=True,
|
||||
packages=[
|
||||
"auditlog",
|
||||
"auditlog.migrations",
|
||||
"auditlog.management",
|
||||
"auditlog.management.commands",
|
||||
"auditlog.templatetags",
|
||||
],
|
||||
url="https://github.com/jazzband/django-auditlog",
|
||||
project_urls={
|
||||
|
|
|
|||
Loading…
Reference in a new issue