Skip to content
Snippets Groups Projects
Commit 92d2cd54 authored by Johannes Raggam's avatar Johannes Raggam
Browse files

creating an egg pt3

parent 1f384ccf
No related branches found
No related tags found
No related merge requests found
Radio Helsinki Program Management
=================================
Requirements
============
------------
- Django 1.3: http://pypi.python.org/pypi/Django/1.3
- PIL: http://pypi.python.org/pypi/PIL/1.1.6
......@@ -7,3 +10,9 @@ Requirements
- PyYAML: http://pypi.python.org/pypi/PyYAML/3.09
- MySQL-python: http://pypi.python.org/pypi/MySQL-python/1.2.3
- django-haystack: http://pypi.python.org/pypi/django-haystack/1.1.0
Author
------
Ernesto Rico-Schmidt
Contributions: Johannes Raggam
......@@ -64,7 +64,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
)
ROOT_URLCONF = 'helsinki.urls'
ROOT_URLCONF = 'helsinki.program.urls'
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), "templates"),
......
......@@ -2,8 +2,8 @@ from django.conf.urls.defaults import *
from django.views.generic.detail import DetailView
from django.views.generic.list import ListView
from models import Host, Show, TimeSlot
from views import CurrentShowView, DayScheduleView, RecommendationsView, ShowListView, TodayScheduleView, WeekScheduleView
from helsinki.program.models import Host, Show, TimeSlot
from helsinki.program.views import CurrentShowView, DayScheduleView, RecommendationsView, ShowListView, TodayScheduleView, WeekScheduleView
urlpatterns = patterns('',
('^$', TodayScheduleView.as_view()),
......@@ -17,4 +17,4 @@ urlpatterns = patterns('',
('^shows/$', ShowListView.as_view()),
url('^show/(?P<slug>[\w-]+)/$', DetailView.as_view(model=Show), name='show-detail'),
url('^(?P<pk>\d+)/$', DetailView.as_view(model=TimeSlot), name='timeslot-detail'),
)
\ No newline at end of file
)
......@@ -2,7 +2,7 @@ from django.views.generic.list import ListView
from django.views.generic.base import TemplateView
from django.shortcuts import get_object_or_404
from models import BroadcastFormat, MusicFocus, Note, Show, ShowInformation, ShowTopic, TimeSlot
from helsinki.program.models import BroadcastFormat, MusicFocus, Note, Show, ShowInformation, ShowTopic, TimeSlot
from datetime import date, datetime, time, timedelta
......
setup.py 0 → 100644
from setuptools import setup, find_packages
import os
version = '0.1'
setup(name='helsinki.program',
version=version,
description="Program Management for Radio Helsinki, Graz",
long_description=open("README.rst").read() + "\n" +
open(os.path.join("docs", "CHANGES.rst")).read(),
# Get more strings from http://www.python.org/pypi?:action=list_classifiers
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='django radio',
author='Ernesto Rico-Schmidt',
author_email='',
url='',
license='',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
'python-dateutil',
],
entry_points="""
# -*- Entry points: -*-
""",
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment