Provides administrative interface and utilities for use in Armstrong.
TODO
You can install the latest release of armstrong.hatband
using pip:
pip install armstrong.hatband
Make sure to add armstrong.hatband
and django.contrib.admin
to your INSTALLED_APPS
. You can add this however you like. This works as a copy-and-paste solution:
INSTALLED_APPS += ["armstrong.hatband", "django.contrib.admin", ]
Once installed, you must run syncdb
in order to install Django's admin models. This is only required if you did not have Django's admin already installed and configured.
Finally, you must alter your URL configuration. At the top of your urls
module (urls.defaults
in an Armstrong project), make sure to change this line:
from django.contrib import admin
To:
from armstrong import hatband as admin
The rest of the URL configuration stays identical to what is expected for the traditional Django admin.
- Create something awesome -- make the code better, add some functionality, whatever (this is the hardest part).
- Fork it
- Create a topic branch to house your changes
- Get all of your commits in the new topic branch
- Submit a pull request
Armstrong is an open-source news platform that is freely available to any organization. It is the result of a collaboration between the Texas Tribune and Bay Citizen, and a grant from the John S. and James L. Knight Foundation.
To follow development, be sure to join the Google Group.
armstrong.hatband
is part of the Armstrong project. You're probably looking for that.
Copyright 2011-2012 Bay Citizen and Texas Tribune
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.