django-fogbugz-gadget 0.1.1

A small Django app which allows your users to submit cases to FogBugz directly from your site
django-fogbugz-gadget is a small Django app that allows your users to submit cases to FogBugz directly from your site.

Installation

sudo python setup.py install

Usage

Django Settings

INSTALLED_APPS = (
...
'django_fogbugz_gadget'
)

TEMPLATE_CONTEXT_PROCESSORS = (
...
'django_fogbugz_gadget.context_processors.forms',
)

# URL for submitting requests
FOG_API_ROOT = 'https://example.django_fogbugz.com/api.asp?'

FOG_PROJECT = 'Microsoft Windows'
FOG_PRIMARY_CONTACT = 'Steve Balmer'

# Submissions come from this user
FOG_EMAIL = 'steve@example.com'
FOG_PASSWORD = 'password'


Django URLs

urlpatterns = patterns('',
 ...
 (r'^submit_bug$', 'django_fogbugz_gadget.views.submit_bug'),
)


Sample Template

< !DOCTYPE HTML >
< html >
 < head >
 ...
 < link rel="stylesheet" href="{{ STATIC_URL }}django_fogbugz_gadget/css/style.css" >
 < script src="{{ STATIC_URL }}django_fogbugz_gadget/js/jquery-1.6.min.js" >< /script >
 < script src="{{ STATIC_URL }}django_fogbugz_gadget/js/script.js" >< /script >
 < /head >

 < body >
 ...
 {% include "django_fogbugz_gadget/submit_bug.html" %}
 < /body >
< /html >

last updated on:
May 16th, 2011, 14:59 GMT
price:
FREE!
developed by:
Sanders New Media
homepage:
github.com
license type:
MIT/X Consortium License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT