Skip to content

Commit

Permalink
feat: removed legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao11 committed Sep 15, 2023
1 parent b80f6bc commit e3ab605
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 95 deletions.
88 changes: 0 additions & 88 deletions django/university/stats.py

This file was deleted.

7 changes: 0 additions & 7 deletions django/university/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,11 @@
from rest_framework.decorators import api_view
from django.db.models import Max
from django.db import transaction
from university.stats import statistics, cache_statistics
import json
import os
from django.utils import timezone
# Create your views here.

"""
Initialization of statistics.
"""

DEFAULT_YEAR = 2023
statistics(Course.objects.filter(year=DEFAULT_YEAR).values(), DEFAULT_YEAR)

def get_field(value):
return value.field
Expand Down

0 comments on commit e3ab605

Please sign in to comment.