From b477b0d62b4fe7fa50b9d19e9590011bfca11295 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 9 Nov 2015 08:42:15 +0000 Subject: [PATCH] Removed old modules --- project/college/__init__.py | 0 project/college/admin.py | 3 --- project/college/migrations/__init__.py | 0 project/college/models.py | 3 --- project/college/tests.py | 3 --- project/college/urls.py | 7 ----- project/college/views.py | 5 ---- project/media/__init__.py | 0 project/media/admin.py | 3 --- project/media/migrations/__init__.py | 0 project/media/tests.py | 3 --- project/media/urls.py | 8 ------ project/media/views.py | 10 ------- project/projects/__init__.py | 0 project/projects/migrations/__init__.py | 0 project/projects/tests.py | 3 --- project/projects/urls.py | 16 ----------- project/projects/views.py | 35 ------------------------- project/robotics/__init__.py | 0 project/robotics/migrations/__init__.py | 0 project/robotics/tests.py | 3 --- project/robotics/urls.py | 10 ------- project/robotics/views.py | 22 ---------------- project/setup/__init__.py | 0 project/setup/admin.py | 3 --- project/setup/migrations/__init__.py | 0 project/setup/models.py | 27 ------------------- project/setup/tests.py | 3 --- project/setup/urls.py | 7 ----- project/setup/views.py | 11 -------- 30 files changed, 185 deletions(-) delete mode 100644 project/college/__init__.py delete mode 100644 project/college/admin.py delete mode 100644 project/college/migrations/__init__.py delete mode 100644 project/college/models.py delete mode 100644 project/college/tests.py delete mode 100644 project/college/urls.py delete mode 100644 project/college/views.py delete mode 100644 project/media/__init__.py delete mode 100644 project/media/admin.py delete mode 100644 project/media/migrations/__init__.py delete mode 100644 project/media/tests.py delete mode 100644 project/media/urls.py delete mode 100644 project/media/views.py delete mode 100644 project/projects/__init__.py delete mode 100644 project/projects/migrations/__init__.py delete mode 100644 project/projects/tests.py delete mode 100644 project/projects/urls.py delete mode 100644 project/projects/views.py delete mode 100644 project/robotics/__init__.py delete mode 100644 project/robotics/migrations/__init__.py delete mode 100644 project/robotics/tests.py delete mode 100644 project/robotics/urls.py delete mode 100644 project/robotics/views.py delete mode 100644 project/setup/__init__.py delete mode 100644 project/setup/admin.py delete mode 100644 project/setup/migrations/__init__.py delete mode 100644 project/setup/models.py delete mode 100644 project/setup/tests.py delete mode 100644 project/setup/urls.py delete mode 100644 project/setup/views.py diff --git a/project/college/__init__.py b/project/college/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/college/admin.py b/project/college/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/project/college/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/project/college/migrations/__init__.py b/project/college/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/college/models.py b/project/college/models.py deleted file mode 100644 index 71a8362..0000000 --- a/project/college/models.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/project/college/tests.py b/project/college/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/project/college/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/project/college/urls.py b/project/college/urls.py deleted file mode 100644 index e4a01a4..0000000 --- a/project/college/urls.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.conf.urls import url -from .views import StudentServerView - - -urlpatterns = [ - url(r'^student-server', StudentServerView.as_view(), name='student-server') -] diff --git a/project/college/views.py b/project/college/views.py deleted file mode 100644 index 067dacc..0000000 --- a/project/college/views.py +++ /dev/null @@ -1,5 +0,0 @@ -from django.views.generic import TemplateView -from project.common.views import CustomHeaderBG - -class StudentServerView(CustomHeaderBG.Template): - template_name = 'college/student-server.html' \ No newline at end of file diff --git a/project/media/__init__.py b/project/media/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/media/admin.py b/project/media/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/project/media/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/project/media/migrations/__init__.py b/project/media/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/media/tests.py b/project/media/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/project/media/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/project/media/urls.py b/project/media/urls.py deleted file mode 100644 index 0bacbc0..0000000 --- a/project/media/urls.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.conf.urls import url -from .views import GalleryView, YoutubeView - - -urlpatterns = [ - url(r'^gallery', GalleryView.as_view(), name='gallery'), - url(r'^youtube', YoutubeView.as_view(), name='youtube') -] diff --git a/project/media/views.py b/project/media/views.py deleted file mode 100644 index 516f356..0000000 --- a/project/media/views.py +++ /dev/null @@ -1,10 +0,0 @@ -from django.views.generic import TemplateView -from project.common.views import CustomHeaderBG - - -class YoutubeView(CustomHeaderBG.Template): - template_name = "media/youtube.html" - - -class GalleryView(TemplateView): - template_name = "media/gallery.html" diff --git a/project/projects/__init__.py b/project/projects/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/projects/migrations/__init__.py b/project/projects/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/projects/tests.py b/project/projects/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/project/projects/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/project/projects/urls.py b/project/projects/urls.py deleted file mode 100644 index 551c48f..0000000 --- a/project/projects/urls.py +++ /dev/null @@ -1,16 +0,0 @@ -from django.conf.urls import url -from . import views - -urlpatterns = [ - # Project URLs - url(r'^attack-on-blocks', views.AttackOnBlocksView.as_view(), name="attack-on-blocks"), - url(r'^bsod-enabler', views.BSODEnablerView.as_view(), name='bsod-enabler'), - url(r'^hipchat-emoticons-for-all', views.HipChatEmoticonsForAllView.as_view(), name='hipchat-emoticons'), - url(r'^pithos', views.PithosView.as_view(), name='pithos'), - - # Code URLs - url(r'^morse-code-decoder', views.MorseCodeDecoderView.as_view(), name='morse-code-decoder'), - url(r'^wiki-game-solver', views.WikiGameSolverView.as_view(), name='wiki-game-solver'), - - url(r'^', views.AllProjectsView.as_view(), name="index") -] diff --git a/project/projects/views.py b/project/projects/views.py deleted file mode 100644 index 899ed06..0000000 --- a/project/projects/views.py +++ /dev/null @@ -1,35 +0,0 @@ -from django.views.generic import TemplateView -from project.common.views import CustomHeaderBG - - -# Project Views -class AllProjectsView(TemplateView): - template_name = "projects/all_projects.html" - - -class AttackOnBlocksView(CustomHeaderBG.Template): - template_name = "college/attack-on-blocks.html" - - -class BSODEnablerView(CustomHeaderBG.Template): - template_name = 'projects/BSOD-Enabler.html' - header_BG = 'http://cdn9.howtogeek.com/wp-content/uploads/2013/05/xwindows-8-blue-screen-error.png.pagespeed.ic.yOWUS_rYGn.png' - - -class HipChatEmoticonsForAllView(CustomHeaderBG.Template): - template_name = 'projects/hipchat-emoticons-for-all.html' - header_BG = "https://info.seibert-media.net/plugins/servlet/pptslide?attachment=HipChat+Server+Sales+Pitch+Final+PPT.pptx&attachmentId=7536966&attachmentVer=1&pageId=3179011&slide=0" - - -class PithosView(CustomHeaderBG.Template): - template_name = 'projects/pithos.html' - - -# Code Views -class MorseCodeDecoderView(CustomHeaderBG.Template): - template_name = 'projects/morse-code-decoder.html' - - -class WikiGameSolverView(CustomHeaderBG.Template): - template_name = 'projects/wiki-game-solver.html' - header_BG = "http://is1.mzstatic.com/image/pf/us/r30/Purple/v4/a3/3f/31/a33f31dd-3ace-ffe4-5531-89d3f3a1106f/mzl.ihqwkbih.png" \ No newline at end of file diff --git a/project/robotics/__init__.py b/project/robotics/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/robotics/migrations/__init__.py b/project/robotics/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/robotics/tests.py b/project/robotics/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/project/robotics/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/project/robotics/urls.py b/project/robotics/urls.py deleted file mode 100644 index 731879e..0000000 --- a/project/robotics/urls.py +++ /dev/null @@ -1,10 +0,0 @@ -from django.conf.urls import url -from .views import Index2015View, Index2014View, RoboticsIndexView, Robot2015View - - -urlpatterns = [ - url(r'^$', RoboticsIndexView.as_view(), name='index' ), - url(r'^2015', Index2015View.as_view(), name='2015-index'), - url(r'^2015/robot', Robot2015View.as_view(), name='2015-robot'), - url(r'^2014', Index2014View.as_view(), name='2014-index') -] diff --git a/project/robotics/views.py b/project/robotics/views.py deleted file mode 100644 index 0a760f6..0000000 --- a/project/robotics/views.py +++ /dev/null @@ -1,22 +0,0 @@ -from django.views.generic import TemplateView -from project.common.views import CustomHeaderBG - - -class RoboticsIndexView(TemplateView): - template_name = 'robotics/index.html' - -# 2015 -class Index2015View(CustomHeaderBG.Template): - template_name = 'robotics/2015-index.html' - header_BG = "https://farm8.staticflickr.com/7711/17122633430_7d1bde923a_k.jpg" - - -class Robot2015View(CustomHeaderBG.Template): - template_name = 'robotics/2015-robot.html' - header_BG = "" - - -# 2014 -class Index2014View(CustomHeaderBG.Template): - template_name = 'robotics/2014-index.html' - header_BG = "nothing" \ No newline at end of file diff --git a/project/setup/__init__.py b/project/setup/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/setup/admin.py b/project/setup/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/project/setup/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/project/setup/migrations/__init__.py b/project/setup/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project/setup/models.py b/project/setup/models.py deleted file mode 100644 index b2e2c23..0000000 --- a/project/setup/models.py +++ /dev/null @@ -1,27 +0,0 @@ -from django.db import models -import uuid - - -class Device(models.Model): - device_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) - device_name = models.CharField(max_length=50, blank=False, null=True) - friendly_name = models.CharField(max_length=50, blank=False, null=True, unique=True) - model_name = models.CharField(max_length=50, blank=False, null=True, unique=True) - description = models.TextField(blank=True, null=True) - computer = models.ForeignKey('setup.Computer') - - - -class Computer(models.Model): - computer_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) - CPU = models.TextField(max_length=30, blank=False, null=True, verbose_name="Processor") - GPU = models.TextField(max_length=40, blank=True, null=True, verbose_name="Graphics Card") - RAM = models.IntegerField(blank=False, null=True) - - - -class Peripheral(models.Model): - peripheral_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) - name = models.CharField(max_length=40, blank=False, null=True) - model_name = models.CharField(max_length=100, blank=False, null=True) - device = models.ForeignKey('setup.Device') diff --git a/project/setup/tests.py b/project/setup/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/project/setup/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/project/setup/urls.py b/project/setup/urls.py deleted file mode 100644 index 234e3b2..0000000 --- a/project/setup/urls.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.conf.urls import url -from . import views - -urlpatterns = [ - url(r'^desk', views.DeskView.as_view(), name="desk"), - url(r'^', views.SetupIndexView.as_view(), name="index") -] diff --git a/project/setup/views.py b/project/setup/views.py deleted file mode 100644 index bc04113..0000000 --- a/project/setup/views.py +++ /dev/null @@ -1,11 +0,0 @@ -from django.views.generic import TemplateView -from project.common.views import CustomHeaderBG - - -class SetupIndexView(TemplateView): - template_name = "setup/index.html" - - -class DeskView(CustomHeaderBG.Template): - template_name = "setup/my-rig.html" - header_BG = "https://c1.staticflickr.com/1/557/18312934624_b51a541594_h.jpg"