mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Final changes before release.
This commit is contained in:
parent
e7e9e1c311
commit
d26932235f
4 changed files with 11 additions and 19 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -7,4 +7,5 @@ pip-log.txt
|
|||
dist/
|
||||
*.egg-info/
|
||||
avatars
|
||||
.coverage
|
||||
.coverage
|
||||
docs/_build
|
||||
|
|
@ -10,12 +10,12 @@ install:
|
|||
- pip install https://github.com/django/django/archive/${DJANGO}.zip#egg=django
|
||||
script: make test
|
||||
env:
|
||||
- DJANGO=1.4.5
|
||||
- DJANGO=1.5.1
|
||||
- DJANGO=1.4.7
|
||||
- DJANGO=1.5.3
|
||||
- DJANGO=stable/1.6.x
|
||||
matrix:
|
||||
exclude:
|
||||
- python: 3.2
|
||||
env: DJANGO=1.4.5
|
||||
env: DJANGO=1.4.7
|
||||
- python: 3.3
|
||||
env: DJANGO=1.4.5
|
||||
env: DJANGO=1.4.7
|
||||
|
|
|
|||
|
|
@ -12,25 +12,18 @@ Installation
|
|||
------------
|
||||
|
||||
If you have pip_ installed, you can simply run the following command
|
||||
to install django-avatar:
|
||||
to install django-avatar::
|
||||
|
||||
pip install django-avatar
|
||||
|
||||
Included with this application is a file named ``setup.py``. It's possible to
|
||||
use this file to install this application to your system, by invoking the
|
||||
following command:
|
||||
following command::
|
||||
|
||||
python setup.py install
|
||||
|
||||
Once that's done, you should be able to begin using django-avatar at will.
|
||||
|
||||
Contents:
|
||||
|
||||
.. toctree::
|
||||
|
||||
install.txt
|
||||
usage
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
|
|
@ -95,7 +88,6 @@ template rendering system:
|
|||
``{{ request.user|has_avatar }}``
|
||||
Given a user object returns a boolean if the user has an avatar.
|
||||
|
||||
|
||||
Global Settings
|
||||
---------------
|
||||
|
||||
|
|
@ -125,7 +117,6 @@ AVATAR_DEFAULT_URL
|
|||
The default URL to default to if ``AVATAR_GRAVATAR_BACKUP`` is set to False
|
||||
and there is no ``Avatar`` instance found in the system for the given user.
|
||||
|
||||
|
||||
Management Commands
|
||||
-------------------
|
||||
|
||||
|
|
|
|||
6
setup.py
6
setup.py
|
|
@ -24,7 +24,7 @@ setup(
|
|||
description="A Django app for handling user avatars",
|
||||
long_description=read('README.rst'),
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Web Environment',
|
||||
'Framework :: Django',
|
||||
'Intended Audience :: Developers',
|
||||
|
|
@ -33,8 +33,8 @@ setup(
|
|||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
# 'Programming Language :: Python :: 3.2',
|
||||
# 'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.2',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
],
|
||||
keywords='avatar, django',
|
||||
author='Eric Florenzano',
|
||||
|
|
|
|||
Loading…
Reference in a new issue