Skip to content

Commit

Permalink
General cleanup of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Barran committed Jul 30, 2019
1 parent eb51aba commit 6b9197e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 31 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ Changelog
----------------

- Project has been transferred from Alexander Artemenko to Richard Barran.
- Tested against Django 2.2.
- Added unit tests, CI, coverage report.


2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include README.md
include README.rst
recursive-include */templates *.html
16 changes: 0 additions & 16 deletions demo_project/demo_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
Expand Down Expand Up @@ -58,21 +57,6 @@
}
}

AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'
Expand Down
28 changes: 14 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
from setuptools import setup, find_packages

setup(
name = 'django-perfect404',
version = __import__('perfect404').__version__,
description = 'Simple but perfect 404 page for django projects.',
keywords = 'django apps webdev',
license = 'New BSD License',
author = 'Alexander Artemenko',
author_email = 'svetlyak.40wt@gmail.com',
url = 'http://github.com/svetlyak40wt/django-perfect404/',
name='django-perfect404',
version=__import__('perfect404').__version__,
description='Simple but perfect 404 page for django projects.',
keywords='django apps webdev',
license='New BSD License',
author='Alexander Artemenko',
author_email='svetlyak.40wt@gmail.com',
url='http://github.com/richardbarran/django-perfect404/',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Plugins',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages = find_packages(exclude=['demo_project']),
package_data = {
packages=find_packages(exclude=['demo_project']),
package_data={
'templates': ['*.html'],
},
include_package_data = True,
zip_safe = True,
include_package_data=True,
zip_safe=True,
)

0 comments on commit 6b9197e

Please sign in to comment.