Hoo I was making it more complicated than it should. Thanks a lot. 
Sorry for this dummy question as I'm still learning Pyramid.
Cheers,

On Thursday, May 15, 2014 1:51:12 AM UTC-4, Blaise Laflamme wrote:
>
> The way you organize your views has nothing to do with how they get 
> called, pyramid has no magic here. You should refer to how url dispatch or 
> traversal are working: 
>
> - 
> http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/urldispatch.html
> - 
> http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/traversal.html
>
> On Thursday, May 15, 2014 12:23:23 AM UTC-4, Yannick wrote:
>>
>> Hello mate,
>>
>> Does anyone knows how to call a Pyramid views from angularjs.
>> Here is what have done:
>> From Angularjs:
>> *$http.get(views/display_player) *  # In the case views.py is the file 
>> object and display_user is a view rendering to JSON
>>
>> When I do that I have a 404 not found which means that my url is not 
>> right. Can someone help me out with this.
>> The Javascript file and the python views are in the same folder.
>>
>> Thanks for your help
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to