0
I Use This!
Activity Not Available

Project Summary

django-smileys is an application that allows your Django-powered site to display those annoying and useless smileys whenever the smileys filter a pattern that you specify. This application serves a very simple purpose, but its uses can go beyond that of merely inserting smileys whenever a particular pattern (like ":)" or ";)"). It can replace whatever pattern you want with an image of your choosing. There's gotta be something useful in that, right?

This application can make your blog, forums, photo galleries, user comments, etc a little more interesting, and it's very simple to install. Free icon sets plague the Internet, and you can choose whatever icons you'd like to use!

FeaturesStrict pattern matching: you can specify very strict patterns for your smileys Regular expression pattern matching: if you need a little more power in your pattern matching capabilities, you can specify that your patterns are regular expressions (on a per-smiley basis) and the filter should know what to do. RequirementsThis application was built on Django 1.0.2, and it should work with any version of Django that uses the admin.site.register method for telling the Django admin that a model should appear in the admin (as opposed to the class Admin: method).

InstallationDownload django-smileys using one of the following methods:

Checkout from Subversionsvn co http://django-smileys.googlecode.com/svn/trunk/smileys smileysPackage DownloadDownload the latest .tar.gz file from the downloads section and extract it somewhere you'll remember.

ConfigurationFirst of all, you must add this project to your list of INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
...
'smileys',
...
)Run manage.py syncdb. This creates a the table in your database that is necessary for operation.

UsageOpen the template file that you want to have your smileys appear in and make sure it has something like this in it:

{% load smiley_tags %}

{% block content %}
{{ some_content_var|smileys }}
{% endblock %}The smiley_tags library provides you with a smileys filter, which will examine your database for all active smileys. It then runs though some_content_var (in this example) and replaces the patterns it finds with the respective smileys. Pretty simple huh!

And useless! w00t.

Tags

django filter fun graphics interface smilies useless

In a Nutshell, django-smileys...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

BSD 4-clause (University of California-Specific)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis