diff options
-rw-r--r-- | devel/views.py | 3 | ||||
-rw-r--r-- | templates/devel/cvs.html | 48 | ||||
-rw-r--r-- | urls.py | 12 |
3 files changed, 8 insertions, 55 deletions
diff --git a/devel/views.py b/devel/views.py index b21f349..95c90f3 100644 --- a/devel/views.py +++ b/devel/views.py @@ -97,9 +97,6 @@ def siteindex(request): request, 'devel/siteindex.html', {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos}) -def cvs(request): - return render_response(request, 'devel/cvs.html') - def developers(request): devs = User.objects.filter(is_active=True).order_by('username') return render_response(request, 'devel/developers.html', {'devs':devs}) diff --git a/templates/devel/cvs.html b/templates/devel/cvs.html deleted file mode 100644 index 715d00d..0000000 --- a/templates/devel/cvs.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<div class="greybox" style="text-align:center"> - You can access all of our PKGBUILD files from the - <a href="http://cvs.archlinux.org">cvsweb</a> interface. -</div> -<br /><br /> -<div class="box"> - <h2 class="title">CVS Repositories</h2> - <br /><br /> - Anonymous CVS access is also available. Use <i><u>anonymous</u></i> as the - username and password.<br /><br /> - <ol class="instructions"> - <li> - Set CVSROOT to the repository you wish to access:<br /><br /> - <blockquote class="code"> -# export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-core<br /><br /> -OR<br /><br /> -# export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-extra<br /><br /> -OR<br /><br /> -# export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-unstable<br /><br /> - </blockquote> - <br /><br /> - </li> - <li> - Login:<br /><br /> - <blockquote class="code"> -# touch ~/.cvspass<br /> -# cvs login<br /> -Logging in to :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-core<br /> -CVS password: anonymous<br /> - </blockquote> - <br /><br /> - </li> - <li> - Check out the repository:<br /><br /> - <blockquote class="code"> -# cvs -z3 co core<br /><br /> -OR<br /><br /> -# cvs -z3 co extra<br /> - </blockquote> - </li> - </ol> -</div> -<br /><br /> -{% endblock %} - @@ -61,10 +61,14 @@ urlpatterns = patterns('', # Authentication / Admin (r'^denied/$', 'archweb_dev.devel.views.denied'), - (r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'registration/login.html'}), - (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'registration/login.html'}), - (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html'}), - (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html'}), + (r'^login/$', 'django.contrib.auth.views.login', { + 'template_name': 'registration/login.html'}), + (r'^accounts/login/$', 'django.contrib.auth.views.login', { + 'template_name': 'registration/login.html'}), + (r'^logout/$', 'django.contrib.auth.views.logout', { + 'template_name': 'registration/logout.html'}), + (r'^accounts/logout/$', 'django.contrib.auth.views.logout', { + 'template_name': 'registration/logout.html'}), (r'^admin/(.*)', admin.site.root), ) |