andialbrecht/django-goog — pull request #5 by hkage (2012-05-11 11:47:54+00:00)
Title: Handle extern files from other apps

Using an extern file from a Django app in `GOOG_JS_EXTERNS` caused a problem with the final path. The `app:` variable wasn't replaced and `STATIC_URL` didn't work as well. With this changeset external files will be handled like the ones defined in `GOOG_JS_FILES`. This requires to use a dictionary instead of a simple list e.g.:

```python
GOOG_JS_EXTERNS = {
'my_extern': {'url': '{{STATIC_URL}}jslib/externs.js',
'path': 'app:myapp/static/jslib/externs.js'},
}
```