merge profiles
This commit is contained in:
commit
9b63815416
|
@ -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,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ProfilesConfig(AppConfig):
|
||||
name = 'profiles'
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
|
@ -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),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue