I have to apologize for my stupid question.

Of course web2py *does* deliver raw html. But AngularJS uses the same 
brackets convention as web2py - that's what caused the conflict (I should 
write a book: 'The Art of Reading Error Messages' ... *facepalm*)

There seems to be a workaround, 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 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 '<html ng-app>' 
> and so forth). Of course I could place the files in the static folder, but 
> then I can't protect the files via @auth.requires_login() etc.
>
> What would be the best way to achieve that?
>
> Thank you,
>   Dirk
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to