[web2py] Re: Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
olateProvider) { $interpolateProvider.startSymbol('[['); $interpolateProvider.endSymbol(']]'); }); function MyCtrl($scope) { $scope.name = 'Superhero'; } //]]> Hello, [[name]] Am Dienstag, 29. Januar 2013 21:10:04 UTC+1 schrieb Dirk Krause: > > I have to ap

[web2py] Re: Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
rkaround, since you can change the markup in angular according to this: http://stackoverflow.com/questions/8302928/angularjs-with-django-conflicting-template-tags I'll try this next. Am Dienstag, 29. Januar 2013 17:12:30 UTC+1 schrieb Dirk Krause: > > Hi, > > I am trying to use

[web2py] Rendering 'raw' HTML for AngularJS with Web2py

2013-01-29 Thread Dirk Krause
Hi, I am trying to use web2py to manage a database and display the resulting JSON in AngularJS. To render an angular compatible view I need to pass raw html in a view (for example the html needs to start with '' and so forth). Of course I could place the files in the static folder, but then I

[web2py] Re: How do I use web2py to make a simple GUI?

2013-01-25 Thread Dirk Krause
my two cents: as long as you don't need web services (and you don't if I understood you correctly) you are probably better off with a JavaScript framework without a server component (i.e. without web2py). The AngularJS framework is one of many frameworks that come with good documentation. I'd r

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
ll? If you have \n\n in your text, it will > be used to brak You can just add space after with css. > > On Thursday, 29 November 2012 10:27:12 UTC-6, Dirk Krause wrote: >> >> I see, and thank you. Now we already have a database full of text without >> the &#x

[web2py] Re: web2py on Heroku

2012-11-29 Thread Dirk Krause
p with that documentation? > > On Thursday, 29 November 2012 10:35:44 UTC-6, Dirk Krause wrote: >> >> From my attempts to get apps running on Heroku (a few experiments with >> nodejs) people expect to create and edit the requirements and the procfile >> anyways

Re: [web2py] dashboard using bootstrap

2012-11-29 Thread Dirk Krause
Check http://d3js.org/ and http://raphaeljs.com/ Also there is http://paperjs.org/ and esp http://processingjs.org/ There is a good overview here: http://coding.smashingmagazine.com/2012/02/22/web-drawing-throwdown-paper-processing-raphael/ Am Donnerstag, 29. November 2012 17:24:43 UTC+1 schrieb

[web2py] Re: web2py on Heroku

2012-11-29 Thread Dirk Krause
>From my attempts to get apps running on Heroku (a few experiments with nodejs) people expect to create and edit the requirements and the procfile anyways. The procedure is also described in Herokus Tutorials, so one needs to understand the concept

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
29. November 2012 16:27:19 UTC+1 schrieb Massimo Di Pierro: > > The idea was to insert explicit newlines inside tags like H1, H2, etc. > > On Thursday, 29 November 2012 08:52:24 UTC-6, Dirk Krause wrote: >> >> ok, thank you. >> >> I am only wondering why there is a

[web2py] Re: MARKMIN line break

2012-11-29 Thread Dirk Krause
e.com/replace-single-line-break ) Where would I put this regular expression best to avoid the newline tag for the editor? Thanks again. Am Donnerstag, 29. November 2012 13:13:54 UTC+1 schrieb villas: > > Use this: > > [[NEWLINE]] > > On Thursday, November 29, 2012 11:04:56 AM UT

[web2py] MARKMIN line break

2012-11-29 Thread Dirk Krause
Hi, sorry if this was answered elsewhere but I couldn't find it: I found no consistent answer how to add single line breaks ('') as opposed to paragraphs ('') into MARKMIN. This is what I found so far: (1) the 'purest' Markdown doesn't allow line breaks at all (found in stackoverflow) (2) there

[web2py] Form upload with cURL

2012-09-13 Thread Dirk Krause
Hi, I finally figured out to do a file upload via curl (may be obvious to everybody else, but not to me ...) so here we go: I followed the 'manual file upload' example over at web2pyslices (thanks, Yarin!): http://www.web2pyslices.com/slice/show/1504/manual-uploads Just for clarity I changed

[web2py] Re: grid/smartgrid field editability

2012-08-31 Thread Dirk Krause
That was it - thx a bunch! Am Freitag, 31. August 2012 11:28:34 UTC+2 schrieb Niphlod: > > the "default" way of setting db.table.field.writable = False should work... > > Il giorno venerdì 31 agosto 2012 11:26:16 UTC+2, Dirk Krause ha scritto: >> >> Is

[web2py] grid/smartgrid field editability

2012-08-31 Thread Dirk Krause
Is there an (easy) way to disable the editability of distinct fields in a grid/smartgrid? I'd like to create a view for an editor (being able to edit all fields), and an approver (being able to just view all fields, and change only one field like a checkbox). Thanks, Dirk --

[web2py] Re: web2py 2.0 almost done

2012-08-07 Thread Dirk Krause
If you want the trunk (i.e. the latest version) I assume it's best that you do a git clone https://github.com/web2py/web2py/ and work from there. Every once and a while you will want to do a git pull to receive the latest version. Am Dienstag, 7. August 2012 18:03:24 UTC+2 schrieb Luc Chase: >

[web2py] Re: web2py 2.0 almost done

2012-08-07 Thread Dirk Krause
Sry if this is a dumb question: am I supposed to post possible bugs here or file an issue on google code? Am Dienstag, 7. August 2012 06:33:48 UTC+2 schrieb Massimo Di Pierro: > > Web2py 2.0 is almost done. > Please try the nightly build. > Let us know if it breaks anything. > > massimo > --

Re: [web2py] Re: web2py hangs while creating the mysql tables

2012-08-07 Thread Dirk Krause
I finally understand why the app wizard prefixes every table with 't_' and every field with 'f_'. Probably a good practice anyway. Am Dienstag, 7. August 2012 17:03:44 UTC+2 schrieb Yarin: > > Change the name of in your Field('long') field in maps table - it's a > reserved keyword in MySQL and

[web2py] RESTful services with curl and/or python

2012-08-02 Thread Dirk Krause
Hi, I tried to pull together the different sources for restful services, including various hints in this group and of course the excellent web2py documentation. If this is the wrong place or info, feel free to move or delete it. Here's how you create a restful web2py application in under 2 min

[web2py] Markmin patch with nested lists

2012-07-31 Thread Dirk Krause
Hi, I am trying to apply this patch: http://code.google.com/p/web2py/issues/attachmentText?id=524&aid=5240002000&name=markmin_nested_list.diff&token=kjJqRhq0Kmpw7px0Idciodnzvyo%3A1343665747008 (IIRC Massimo posted this somewhere here.) I successfully patched it to the markmin2html.py file, but I