Skip to content

Commit

Permalink
updates the package name to django-celerybeat-status, the app name to…
Browse files Browse the repository at this point in the history
… celerybeat_status, and the package version to 0.0.2
  • Loading branch information
hugobessa committed Aug 25, 2017
1 parent bd5dac3 commit f80f50a
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ A library that integrates with django admin and shows in a simple GUI when your
## Instalation

``` bash
pip install django-celery-beat-status
pip install django-celerybeat-status
```

## Configuration

1. Add `'celery_beat_status'` to your `INSTALLED_APPS` variable in django settings
1. Add `'celerybeat_status'` to your `INSTALLED_APPS` variable in django settings

``` python
INSTALLED_APPS = [
...
'celery_beat_status',
'celerybeat_status',
]
```

Expand All @@ -26,7 +26,7 @@ from django.conf.urls import url, include

urlpatterns = [
# other urls...
url(r'^admin/statuscheck/', include('celery_beat_status.urls')),
url(r'^admin/statuscheck/', include('celerybeat_status.urls')),
]
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'Celery Beat Status'
__version__ = '0.0.1'
__title__ = 'CeleryBeat Status'
__version__ = '0.0.2'
__author__ = 'Vinta Software'
__license__ = 'MIT License'
__copyright__ = 'Copyright 2017 Vinta Serviços e Soluções Tecnológicas Ltda'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion celery_beat_status/apps.py → celerybeat_status/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


class CeleryBeatStatusConfig(AppConfig):
name = 'celery_beat_status'
name = 'celerybeat_status'
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion celery_beat_status/urls.py → celerybeat_status/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.conf.urls import url

from celery_beat_status.views import PeriodicTasksStatusListView
from celerybeat_status.views import PeriodicTasksStatusListView


urlpatterns = [
Expand Down
4 changes: 2 additions & 2 deletions celery_beat_status/views.py → celerybeat_status/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from django.contrib.auth.decorators import user_passes_test
from django.utils.decorators import method_decorator
from django.utils.text import ugettext_lazy as _
from celery_beat_status.helpers import get_periodic_tasks_info
from celerybeat_status.helpers import get_periodic_tasks_info


class PeriodicTasksStatusListView(TemplateView):
template_name = "celery_beat_status/periodic_tasks_status_list.html"
template_name = "celerybeat_status/periodic_tasks_status_list.html"
site_url = "/"

@method_decorator(user_passes_test(
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_package_data(package):
return {package: filepaths}


version = get_version('celery_beat_status')
version = get_version('celerybeat_status')


if sys.argv[-1] == 'publish':
Expand All @@ -71,20 +71,20 @@ def get_package_data(package):
print(" git push --tags")
shutil.rmtree('dist')
shutil.rmtree('build')
shutil.rmtree('django-celery-beat-status.egg-info')
shutil.rmtree('django-celerybeat-status.egg-info')
sys.exit()


setup(
name='django-celery-beat-status',
name='django-celerybeat-status',
version=version,
license='MIT',
description='Model based multi tenancy for Django.',
long_description=read_md('README.md'),
author='Vinta Software',
author_email='[email protected]',
packages=get_packages('celery_beat_status'),
package_data=get_package_data('celery_beat_status'),
packages=get_packages('celerybeat_status'),
package_data=get_package_data('celerybeat_status'),
install_requires=[],
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit f80f50a

Please sign in to comment.