--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd">
+<!-- eric5 user project file for project dajngoTest -->
+<!-- Saved: 2014-10-13, 23:04:03 -->
+<!-- Copyright (C) 2014 John Janus, mail@johnzone.org -->
+<UserProject version="4.0"/>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Tasks SYSTEM "Tasks-5.1.dtd">
+<!-- eric5 tasks file for project dajngoTest -->
+<!-- Saved: 2014-10-13, 23:04:03 -->
+<Tasks version="5.1">
+ <ProjectScanFilter></ProjectScanFilter>
+ <Task priority="1" completed="False" type="2">
+ <Summary>WARNING: keep the secret key used in production secret!</Summary>
+ <Description></Description>
+ <Created>2014-10-13, 22:41:01</Created>
+ <Resource>
+ <Filename>djangeTest/settings.py</Filename>
+ <Linenumber>19</Linenumber>
+ </Resource>
+ </Task>
+ <Task priority="1" completed="False" type="2">
+ <Summary>WARNING: don't run with debug turned on in production!</Summary>
+ <Description></Description>
+ <Created>2014-10-13, 22:41:01</Created>
+ <Resource>
+ <Filename>djangeTest/settings.py</Filename>
+ <Linenumber>22</Linenumber>
+ </Resource>
+ </Task>
+</Tasks>
--- /dev/null
+from django.contrib import admin
+
+# Register your models here.
--- /dev/null
+from django.db import models
+
+# Create your models here.
+class Developer(models.Model):
+ name = models.CharField(max_length=40)
+ location = models.CharField(max_length=20)
+
+ def __str__(self):
+ return self.name
+
+
+class Bug(models.Model):
+ name = models.CharField(max_length=40)
+ description = models.CharField(max_length=1000)
+ filedBy = models.CharField(max_length=40)
+ assignedDeveloper = models.ForeignKey(Developer)
+ dateFiled = models.DateTimeField('date filed')
+ dateStatusChanged = models.DateTimeField('date fixed')
+ status = models.IntegerField(default=0)
+
+ def __str__(self):
+ return self.name
+
--- /dev/null
+from django.test import TestCase
+
+# Create your tests here.
--- /dev/null
+from django.shortcuts import render
+
+# Create your views here.
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Project SYSTEM "Project-5.1.dtd">
+<!-- eric5 project file for project dajngoTest -->
+<!-- Saved: 2014-10-13, 23:02:54 -->
+<!-- Copyright (C) 2014 John Janus, mail@johnzone.org -->
+<Project version="5.1">
+ <Language>en_US</Language>
+ <Hash>763c0c7f947fbf0ef4bdfd9e6c04b1dfc6f659cd</Hash>
+ <ProgLanguage mixed="0">Python3</ProgLanguage>
+ <ProjectType>Django</ProjectType>
+ <Description></Description>
+ <Version>0.1</Version>
+ <Author>John Janus</Author>
+ <Email>mail@johnzone.org</Email>
+ <TranslationPattern>locale/%language%/LC_MESSAGES/django.po</TranslationPattern>
+ <Sources>
+ <Source>manage.py</Source>
+ <Source>djangeTest/urls.py</Source>
+ <Source>djangeTest/__init__.py</Source>
+ <Source>djangeTest/settings.py</Source>
+ <Source>djangeTest/wsgi.py</Source>
+ <Source>__init__.py</Source>
+ <Source>bugtracker/tests.py</Source>
+ <Source>bugtracker/admin.py</Source>
+ <Source>bugtracker/__init__.py</Source>
+ <Source>bugtracker/models.py</Source>
+ <Source>bugtracker/views.py</Source>
+ </Sources>
+ <Forms/>
+ <Translations/>
+ <Resources/>
+ <Interfaces/>
+ <Others/>
+ <Vcs>
+ <VcsType>None</VcsType>
+ </Vcs>
+ <FiletypeAssociations>
+ <FiletypeAssociation pattern="*.htm" type="FORMS"/>
+ <FiletypeAssociation pattern="*.html" type="FORMS"/>
+ <FiletypeAssociation pattern="*.idl" type="INTERFACES"/>
+ <FiletypeAssociation pattern="*.js" type="SOURCES"/>
+ <FiletypeAssociation pattern="*.mo" type="TRANSLATIONS"/>
+ <FiletypeAssociation pattern="*.po" type="TRANSLATIONS"/>
+ <FiletypeAssociation pattern="*.pot" type="TRANSLATIONS"/>
+ <FiletypeAssociation pattern="*.py" type="SOURCES"/>
+ <FiletypeAssociation pattern="*.py3" type="SOURCES"/>
+ <FiletypeAssociation pattern="*.pyw" type="SOURCES"/>
+ <FiletypeAssociation pattern="*.pyw3" type="SOURCES"/>
+ </FiletypeAssociations>
+</Project>
--- /dev/null
+"""
+Django settings for djangeTest project.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/1.6/topics/settings/
+
+For the full list of settings and their values, see
+https://docs.djangoproject.com/en/1.6/ref/settings/
+"""
+
+# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
+import os
+BASE_DIR = os.path.dirname(os.path.dirname(__file__))
+
+
+# Quick-start development settings - unsuitable for production
+# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
+
+# SECURITY WARNING: keep the secret key used in production secret!
+SECRET_KEY = 'b$d1n-z_a(r&!kh=2d7%eb=z$u74li9y9$o$+#2$9mhn)mirq)'
+
+# SECURITY WARNING: don't run with debug turned on in production!
+DEBUG = True
+
+TEMPLATE_DEBUG = True
+
+ALLOWED_HOSTS = []
+
+
+# Application definition
+
+INSTALLED_APPS = (
+ 'django.contrib.admin',
+ 'django.contrib.auth',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sessions',
+ 'django.contrib.messages',
+ 'django.contrib.staticfiles',
+ 'bugtracker',
+)
+
+MIDDLEWARE_CLASSES = (
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.common.CommonMiddleware',
+ 'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
+)
+
+ROOT_URLCONF = 'djangeTest.urls'
+
+WSGI_APPLICATION = 'djangeTest.wsgi.application'
+
+
+# Database
+# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
+ }
+}
+
+# Internationalization
+# https://docs.djangoproject.com/en/1.6/topics/i18n/
+
+LANGUAGE_CODE = 'en-us'
+
+TIME_ZONE = 'Europe/Berlin'
+
+USE_I18N = True
+
+USE_L10N = True
+
+USE_TZ = True
+
+
+# Static files (CSS, JavaScript, Images)
+# https://docs.djangoproject.com/en/1.6/howto/static-files/
+
+STATIC_URL = '/static/'
--- /dev/null
+from django.conf.urls import patterns, include, url
+
+from django.contrib import admin
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ # Examples:
+ # url(r'^$', 'djangeTest.views.home', name='home'),
+ # url(r'^blog/', include('blog.urls')),
+
+ url(r'^admin/', include(admin.site.urls)),
+)
--- /dev/null
+"""
+WSGI config for djangeTest project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangeTest.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()
--- /dev/null
+#!/usr/bin/env python3
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangeTest.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)