Coder Social home page Coder Social logo

django-coldbrew's People

Contributors

etos avatar jmyles avatar vorushin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-coldbrew's Issues

Provide rudimentary server-side AJAX support

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 git commit ref at top of compiled js during collect_coldbrew

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"

Status Change Button

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.

global name 'logger' is not defined

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

File path output is not always correct (uses STATIC_ROOT)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.