Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaned venv from useless packages #103

Merged
merged 5 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
## 1.2.x
### 1.2.12
#### Bugfix
* Cleaned venv from useless packages
* Added pytz in requirements because it's needed by celery_beat
* Registered UserAdmin in authentication
### 1.2.11
#### Bugfix
* Fixed the update of the login.updated field
* Added logging for the clear_models_periodically function
### 1.2.10
#### Changes
* Added settings into the Config model (instead of into the settings.py file)
Expand Down
8 changes: 7 additions & 1 deletion buffalogs/authentication/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
from django.contrib import admin

# Register your models here.
from .models import User


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
list_display = ("id", "username", "email", "is_staff", "is_verified", "created_at", "updated_at", "avatar")
search_fields = ("id", "username", "email", "avatar")
3 changes: 0 additions & 3 deletions buffalogs/authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ def __str__(self):
def tokens(self):
refresh = RefreshToken.for_user(self)
return {"refresh": str(refresh), "access": str(refresh.access_token)}


# Create your models here.
Binary file modified buffalogs/celerybeat-schedule
Binary file not shown.
1 change: 1 addition & 0 deletions buffalogs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pygal>=3.0.0
pygal-maps-world>=1.0.2
python-dateutil>=2.8.2
python-dotenv>=0.21.0
pytz>=2024.1
PyYAML>=6.0
urllib3>=1.26.12
uWSGI>=2.0.21
Expand Down
3 changes: 2 additions & 1 deletion buffalogs/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pre-commit==2.21.0
mypy-extensions>=0.4.3
flake8>=3.8.4
flake8-django>=1.1.5
flake8-django>=1.1.5
pipdeptree>=2.16.0
Loading