Compare commits

..

No commits in common. "a4f80820c94ee31e94ada5cd1067e61b60efe457" and "b23dc8a627a6c3d3b0ad71350861fd25796f8577" have entirely different histories.

4 changed files with 3 additions and 29 deletions

View File

@ -14,7 +14,6 @@ pandoc = "*"
pylint-django = "*" pylint-django = "*"
setuptools = "*" setuptools = "*"
django-nose = "*" django-nose = "*"
invoke = "*"
[packages] [packages]
django = "*" django = "*"
@ -31,7 +30,3 @@ showmigrations = "django_lostplaces/manage.py showmigrations"
makemigrations = "django_lostplaces/manage.py makemigrations --no-input" makemigrations = "django_lostplaces/manage.py makemigrations --no-input"
migrate = "django_lostplaces/manage.py migrate" migrate = "django_lostplaces/manage.py migrate"
build = "django_lostplaces/setup.py bdist_wheel --universal" build = "django_lostplaces/setup.py bdist_wheel --universal"
createsuperuser = "django_lostplaces/manage.py createsuperuser --noinput --username admin --email admin@example.org"
createsuperuser_prompt = "django_lostplaces/manage.py createsuperuser"
quickstart = "invoke quickstart"
security = "pipenv check"

View File

@ -32,7 +32,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='explorer', model_name='explorer',
name='profile_image', name='profile_image',
field=easy_thumbnails.fields.ThumbnailerImageField(blank=True, help_text='Optional profile image for display in Explorer profile', null=True, upload_to=lostplaces.models.generate_profile_image_filename, verbose_name='Profile image'), field=easy_thumbnails.fields.ThumbnailerImageField(blank=True, help_text='Optional profile image for display in Explorer profile', null=True, upload_to=lostplaces.models.models.generate_profile_image_filename, verbose_name='Profile image'),
), ),
migrations.AddField( migrations.AddField(
model_name='explorer', model_name='explorer',

View File

@ -8,7 +8,7 @@ with open('Readme.md') as f:
setup( setup(
name='django-lostplaces', name='django-lostplaces',
version='0.1.4-hotfix-31-12-21_22-18', version='0.1.3',
description='A django app to manage lost places', description='A django app to manage lost places',
author='Reverend', author='Reverend',
author_email='reverend@reverend2048.de', author_email='reverend@reverend2048.de',
@ -33,4 +33,4 @@ setup(
], ],
include_package_data=True, include_package_data=True,
license='MIT' license='MIT'
) )

View File

@ -1,21 +0,0 @@
from invoke import task
@task
def quickstart(c):
commands = [
'pipenv run migrate',
'pipenv run createsuperuser',
'pipenv run server'
]
c.run(' && '.join(commands))
@task
def live(c):
commands = [
'pipenv check',
'pipenv run test',
'pipenv run migrate',
'pipenv run createsuperuser_prompt'
'pipenv run server'
]
c.run(' && '.join(commands))