wyglad
Revert "wyglad"

This reverts commit edb79fe43be7f82b68f98c812cc270ae474f1a45.
template

urls.py

from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
from styp.views import main

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'stypendia.views.home', name='home'),
    # url(r'^stypendia/', include('stypendia.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    
    url(r'^main/',main),
)


settings.py (zamiast Template_dirs)

import os.path
TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(__file__),'templates').replace('\\','/'),             
    # Put strings here, like "/home/html/django_templates" or
"C:/www/django/templates".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
)