Add registration and login templates plus UI stuff, moderation
This commit is contained in:
@@ -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,2 @@
|
||||
{% extends "base_page.html" %}
|
||||
Profile page
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,7 @@
|
||||
from django.conf.urls import url
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.Profile.as_view(), name='profile'),
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
from django.views.generic.base import TemplateView
|
||||
|
||||
|
||||
class Profile(TemplateView):
|
||||
template_name = "profiles/profile.html"
|
||||
Reference in New Issue
Block a user