MVPEEEE #7

Merged
andrewlalis merged 36 commits from develop into master 2018-10-01 14:53:24 +00:00
5 changed files with 13 additions and 8 deletions
Showing only changes of commit 4df42ed503 - Show all commits

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pyc

View File

@ -106,14 +106,14 @@ AUTH_PASSWORD_VALIDATORS = [
] ]
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ( # 'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated', # 'rest_framework.permissions.IsAuthenticated',
), # ),
'DEFAULT_AUTHENTICATION_CLASSES': ( # 'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_jwt.authentication.JSONWebTokenAuthentication', # 'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
'rest_framework.authentication.SessionAuthentication', # 'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication', # 'rest_framework.authentication.BasicAuthentication',
), # ),
} }
# Internationalization # Internationalization

Binary file not shown.

View File

@ -1,5 +1,9 @@
from django.db import models from django.db import models
class Review(models.Model):
# An integer rating which defines
rating = models.IntegerField(default=1)
# Create your models here. # Create your models here.
class UniversityReview(models.Model): class UniversityReview(models.Model):
university_name = models.CharField(max_length=200) university_name = models.CharField(max_length=200)

View File