merge profiles

This commit is contained in:
Fred 2016-07-11 21:36:30 +02:00
commit 9b63815416
10 changed files with 22 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Django==1.9.7
Django<1.10
djangorestframework==3.3.3
django-leaflet==0.18.0
wheel==0.24.0
djangorestframework=3.3.3

0
src/profiles/__init__.py Normal file
View File

3
src/profiles/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
src/profiles/apps.py Normal file
View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class ProfilesConfig(AppConfig):
name = 'profiles'

View File

3
src/profiles/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

3
src/profiles/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
src/profiles/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@ -16,6 +16,9 @@ Including another URLconf
from django.conf.urls import url
from django.contrib import admin
from rest_framework.authtoken import views
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^api-token-auth/', views.obtain_auth_token),
]