parent
a482387edf
commit
0fb297e325
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class RockPaperScissorsConfig(AppConfig):
|
||||
name = 'rock_paper_scissors'
|
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
@ -0,0 +1,5 @@
|
||||
{% extends 'common/master.html' %}
|
||||
|
||||
{% block body %}
|
||||
Test
|
||||
{% endblock %}
|
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('rps/', views.rps, name="rps")
|
||||
]
|
@ -0,0 +1,7 @@
|
||||
from django.shortcuts import (
|
||||
render, HttpResponse
|
||||
)
|
||||
|
||||
# Create your views here.
|
||||
def rps(request):
|
||||
return render(request, 'games/rps.html', {})
|
Loading…
Reference in new issue