slashroot / django-coldbrew Goto Github PK
View Code? Open in Web Editor NEWcoffeescript tooling for django
License: Other
coffeescript tooling for django
License: Other
This can be turned on by a decorator.
There are really two avenues to pursue here - we can go with either or both.
The first is to build support for dajaxice in coffeescript syntax that causes the whole thing to feel like a django view. See http://www.dajaxproject.com/.
The other way forward is to package some simple tools from the WHAT (such as submit_generic_partial()) and provide a framework in coffeescript to access them.
write a test for the template tag
We need to write a test for handling errors
If collect_coldbrew is run on a project which is tracked by a git repository, let's write the commit ref of the most recent revision of each coffee file to the top of the respective javascript.
For example,
"Brewed from my-script-file.coffee 39fdf3fjew9fwe0fwej33f23fwef"
On clicking the button, a snippet of coffeescript via AJAX, changes the status from one type of thing to another. Coldbrew will need its own dispatch urls to communicate the change in status.
The button has text indicating a status or state of being that is one of two such as "open" and "closed" or "dead" and "alive" .
Each status has an associated color.
Another model shows and records that change plus time date author.
From now on, let's check for the binary at the beginning of the process, not wait until it catches an error.
Ideally, this will be hooked into collectstatic.
It just needs to find all the coffee and brew it, placing it in COLDBREW_CUP.
My bad. I introduced this settings in 6eb3d10 and failed to document it.
Hi!
It's grate application!
I got error:
NameError at /
global name 'logger' is not defined
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.4
Exception Type: NameError
Exception Value:
global name 'logger' is not defined
Exception Location: /path/to/env/src/package/coldbrew/init.py in compile, line 25
Python Executable: /path/to/env/bin/python
Python Version: 2.7.2
If STATIC_ROOT is not a parent of COFFEESCRIPT_OUTPUT_DIR, coldbrew.py line 67 no longer makes sense.
One way or another, a URL needs to be developed that accurately reflects the URL structure of both a runserver setup and a production server after collectstatic has been run.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.