Browse files

renamed to kaelo

  • Loading branch information...
1 parent 76bea13 commit c5b1d058a8114cc9640086c18d99096fc71ba7a1 @paltman paltman committed Aug 28, 2011
View
2 MANIFEST.in
@@ -1,2 +1,2 @@
include README.rst
-recursive-include invitations/templates *.html
+recursive-include kaleo/templates *.html
View
6 README.rst
@@ -1,5 +1,7 @@
-django-invitations
-==================
+kaleo
+=====
+
+a user to user join invitations app
To Document
View
8 docs/Makefile
@@ -72,17 +72,17 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/django-invitations.qhcp"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/kaleo.qhcp"
@echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/django-invitations.qhc"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/kaleo.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/django-invitations"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/django-invitations"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/kaleo"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/kaleo"
@echo "# devhelp"
epub:
View
10 docs/conf.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# django-invitations documentation build configuration file, created by
+# kaleo documentation build configuration file, created by
# sphinx-quickstart on Sat Aug 27 13:25:18 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
@@ -40,7 +40,7 @@
master_doc = 'index'
# General information about the project.
-project = u'django-invitations'
+project = u'kaleo'
copyright = u'2011, Eldarion'
# The version info for the project you're documenting, acts as replacement for
@@ -164,7 +164,7 @@
#html_file_suffix = None
# Output file base name for HTML help builder.
-htmlhelp_basename = 'django-invitationsdoc'
+htmlhelp_basename = 'kaleodoc'
# -- Options for LaTeX output --------------------------------------------------
@@ -178,7 +178,7 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('index', 'django-invitations.tex', u'django-invitations Documentation',
+ ('index', 'kaleo.tex', u'kaleo Documentation',
u'Eldarion', 'manual'),
]
@@ -211,6 +211,6 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('index', 'django-invitations', u'django-invitations Documentation',
+ ('index', 'kaleo', u'kaleo Documentation',
[u'Eldarion'], 1)
]
View
6 docs/index.rst
@@ -1,6 +1,6 @@
-==================
-Django Invitations
-==================
+=====
+kaleo
+=====
Provides a site with user to user invitations, working closely with both
Pinax's `signup_codes` and `django-email-confirmation`.
View
10 docs/installation.rst
@@ -3,18 +3,18 @@
Installation
============
-* To install Django Invitations::
+* To install kaleo::
- pip install django-invitations --extra-index-url=http://dist.pinaxproject.com/dev/
+ pip install kaleo --extra-index-url=http://dist.pinaxproject.com/dev/
-* Add ``'invitations'`` to your ``INSTALLED_APPS`` setting::
+* Add ``'kaleo'`` to your ``INSTALLED_APPS`` setting::
INSTALLED_APPS = (
# other apps
- "invitations",
+ "kaleo",
)
-* See the list of :ref:`settings` to modify Django Invitations's
+* See the list of :ref:`settings` to modify kaleo's
default behavior and make adjustments for your website.
.. _dependencies:
View
6 docs/settings.rst
@@ -3,10 +3,10 @@
Settings
========
-.. _invitations_default_expiration:
+.. _kaleo_default_expiration:
-INVITATIONS_DEFAULT_EXPIRATION
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+KALEO_DEFAULT_EXPIRATION
+^^^^^^^^^^^^^^^^^^^^^^^^
:Default: 168 (7 days)
View
8 invitations/urls.py
@@ -1,8 +0,0 @@
-from django.conf.urls.defaults import url, patterns
-
-from invitations.views import invite
-
-
-urlpatterns = patterns("",
- url(r"^invite/$", invite, name="invitations_invite"),
-)
View
0 invitations/templatetags/__init__.py → kaleo/__init__.py
File renamed without changes.
View
2 invitations/admin.py → kaleo/admin.py
@@ -1,6 +1,6 @@
from django.contrib import admin
-from invitations.models import JoinInvitation, InvitationStat
+from kaleo.models import JoinInvitation, InvitationStat
class InvitationStatAdmin(admin.ModelAdmin):
View
0 invitations/forms.py → kaleo/forms.py
File renamed without changes.
View
0 invitations/management/commands/__init__.py → kaleo/management/__init__.py
File renamed without changes.
View
0 invitations/management/__init__.py → kaleo/management/commands/__init__.py
File renamed without changes.
View
2 ...ations/management/commands/add_invites.py → kaleo/management/commands/add_invites.py
@@ -4,7 +4,7 @@
from django.contrib.auth.models import User
-from invitations.models import InvitationStat
+from kaleo.models import InvitationStat
class Command(BaseCommand):
View
2 ...ons/management/commands/topoff_invites.py → kaleo/management/commands/topoff_invites.py
@@ -4,7 +4,7 @@
from django.contrib.auth.models import User
-from invitations.models import InvitationStat
+from kaleo.models import InvitationStat
class Command(BaseCommand):
View
4 invitations/models.py → kaleo/models.py
@@ -11,10 +11,10 @@
from emailconfirmation.models import EmailConfirmation
from emailconfirmation.signals import email_confirmed
-from invitations.signals import invite_sent, invite_accepted
+from kaleo.signals import invite_sent, invite_accepted
-DEFAULT_INVITE_EXPIRATION = getattr(settings, "INVITATIONS_DEFAULT_EXPIRATION", 168) # 168 Hours = 7 Days
+DEFAULT_INVITE_EXPIRATION = getattr(settings, "KALEO_DEFAULT_EXPIRATION", 168) # 168 Hours = 7 Days
class NotEnoughInvitationsError(Exception):
View
0 invitations/signals.py → kaleo/signals.py
File renamed without changes.
View
0 ...s/templates/invitations/_invite_form.html → kaleo/templates/kaleo/_invite_form.html
File renamed without changes.
View
0 ...tions/templates/invitations/_invited.html → kaleo/templates/kaleo/_invited.html
File renamed without changes.
View
0 invitations/__init__.py → kaleo/templatetags/__init__.py
File renamed without changes.
View
4 invitations/templatetags/invitations_tags.py → kaleo/templatetags/kaleo_tags.py
@@ -1,7 +1,7 @@
from django import template
-from invitations.forms import InviteForm
-from invitations.models import InvitationStat
+from kaleo.forms import InviteForm
+from kaleo.models import InvitationStat
register = template.Library()
View
8 kaleo/urls.py
@@ -0,0 +1,8 @@
+from django.conf.urls.defaults import url, patterns
+
+from kaleo.views import invite
+
+
+urlpatterns = patterns("",
+ url(r"^invite/$", invite, name="kaleo_invite"),
+)
View
4 invitations/views.py → kaleo/views.py
@@ -6,8 +6,8 @@
from emailconfirmation.models import EmailAddress
-from invitations.forms import InviteForm
-from invitations.models import JoinInvitation
+from kaleo.forms import InviteForm
+from kaleo.models import JoinInvitation
@login_required
View
14 setup.py
@@ -2,19 +2,19 @@
setup(
- name = "django-invitations",
+ name = "kaleo",
version = "0.1.dev2",
- description = "an invitations app",
- url = "https://github.com/eldarion/django-invitations",
+ description = "an user to user join invitations app",
+ url = "https://github.com/eldarion/kaleo",
author = "Eldarion",
author_email = "paltman@eldarion.com",
packages = [
- "invitations",
- "invitations.templatetags"
+ "kaleo",
+ "kaleo.templatetags"
],
package_data = {
- "invitations": [
- "templates/invitations/*.html",
+ "kaleo": [
+ "templates/kaleo/*.html",
]
},
zip_safe = False

0 comments on commit c5b1d05

Please sign in to comment.