Dear all,
My collegue Murray has written up some instructions on how to set up Visual
Studio in order to be able to develop and debug Pyramid applications with
it.
https://pytools.codeplex.com/discussions/456661
Cheers,
Tjelvar
--
You received this message because you are subscribed to the
Hi Tres,
Thank you for your quick reply.
I get the same warning when I paste those URLs into my web-browser.
Tjelvar
On Monday, September 9, 2013 1:30:15 PM UTC+1, Tres Seaver wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 09/09/2013 07:58 AM, Tjelvar wrote
Dear all,
Trying to access the Pyramid documentation results in a "High risk website
blocked".
The details given:
Access has been blocked to "api.grokthedocs.com" as 'Mal/HTMLGen-A' has
been found at this website.
Anyone know what is going on?
Kind regards,
ut this on wikipedia:
http://en.wikipedia.org/wiki/Tick_(check_mark)#International_differences
Tjelvar
On Wednesday, April 17, 2013 6:54:39 PM UTC+1, Sontek wrote:
>
> Hello my fellow aliens!
>
> Recently I was setting up configuration for a new project and was trying
> to do the
Thank you for your clear answer Michael, much appriciated.
I re-factored the tests making use of "mockers" instead of real calls to
the database. Will try to create some functional test using WebTest in the
near future.
Kind regards,
Tjelvar
On Wednesday, April 3, 2013 4:00:0
Dear all,
I'm not sure if this is the expected behaviour or not. In the documentation
it states that DummyRequests implement add_finished_callback.
http://docs.pylonsproject.org/projects/pyramid/en/latest/whatsnew-1.2.html
However, to me it seems like the added callbacks never get called when I
Michael, thank you for all your help. I will experiment with the solution
you proposed over the next week or so.
All the best,
Tjelvar
On Monday, April 1, 2013 5:34:24 PM UTC+1, Michael Merickel wrote:
>
> This isn't tested, but should basically handle what you've been asking
y idea why the code below does not work?
Tjelvar
...
def base_views():
def wrapper(klass):
def _options():
"Return OPTIONS response."
return Response(allow=['HEAD', 'GET', 'OPTIONS'])
d
Dear all,
Some of my resources will have identical views for some request methods
(see below for an example). I would therefore like to be able to inherit
these from a base class. However, the code below does not appear to work
(e.g. POST returns 404 Not Found rather than 405 Method Not Allowed
tent_type',
> ResponseContentTypePredicate)
>
> @view_config(..., renderer='foo.mako', response_content_type='text/xml')
> def ...
>
> Anyway, just another option for you. This was written without the docs so
> expect an error somewhere!
>
>
> On Wed,
Dear all,
Just thought that I add my two pence worth. I am not a web-hacker, I'm a
scientist. I use Pyramid to expose my science as web apps/services.
If I am not a web-hacker then why don't I use something that is "simpler"
than Pyramid. Personally, because the science that I want to expose do
n your page template:
>
>
> ${setattr(request.response,'content_type','text/xml')}
>
>
> Joel
>
>
> 2013/3/27 Jason >
>
>>
>>
>> On Wednesday, March 27, 2013 5:22:36 AM UTC-4, Tjelvar wrote:
>>>
>>> Any suggestions on h
Any suggestions on how one can modify the content-type of a response when
using multiple @view_config decorators on the same view?
E.g.
@view_config(accept='text/html', renderer='html.pt', ...)
@view_config(accept='text/xml', renderer='xml.pt', ...)
@view_config(accept='application/json' rendere
$50 transferred.
Cheers,
Tjelvar
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
pylons-discus
Dear Mike,
Thank you for clarifying that.
Tjelvar
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
pylons-discus
ound error:
pkg_resources.DistributionNotFound: AppName
So would it be correct to say that:
"The information in the AppName.egg-info directory is required for the
pserve, proutes, pshell and ptweens programs to be able to discover
and import the application."
Regards,
Tjelvar
--
You r
Have just run:
$ ./env/bin/pcreate --scaffold=starter AppName
$ cd AppName
$ ./env/bin/python setup.py develop
Which resulted in the directory AppName.egg-info being created:
$ tree AppName.egg-info/
Taster.egg-info/
├── dependency_links.txt
├── entry_points.txt
├── not-zip-safe
├── PKG-INFO
├──
Great, thank you.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
pylons-discuss+unsubscr...@googlegroups.com.
For more option
a book
or is it just me?
Cheers,
Tjelvar
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
pylons-discuss+unsubscr
Dear all,
I'm trying to use chameleon templates in a single file application
(obviously the template is not part of that single file).
bash-4.2$ tree
.
├── templates
│ ├── test.mak
│ └── test.pt
├── test_chameleon.py
└── test_mako.py
However, I get the error message:
...
'Missing template
ve me more reassurance, but I don't have the time/
knowledge to do this at the moment. Hence, my proposed workaround.
Cheers,
Tjelvar
On Sep 22, 9:30 am, "Keesjan van Bunningen"
wrote:
> As far as I can tell you are making it way to complicated.
>
> Sounds to me l
I have created an application which simply exposes some data from an
underlying database. The application also has functionality for
entering new data and editing existing data. It has a primitive login
system for allowing people to edit data using AuthKit, with a single
user specified in the produ
Thanks for all the responses.
I finally got it to work as well, but it was very slow.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send
I'm trying to install Pylons using easy_install, but the installation
egg does not seem to be available.
bash-4.2$ ./easy_install "Pylons>=1.0"
Searching for Pylons>=1.0
Reading http://pypi.python.org/simple/Pylons/
Reading http://www.pylonshq.com/
Download error: [Errno 110] Connection timed out
t; in Mako you pipe it though the ${ foobar | n } filter, but we're not in Mako
> land. But it's the same effect, so I hope that this might give you a clue.
>
>
>
>
>
>
>
> On Fri, Jul 29, 2011 at 12:12 AM, Tjelvar wrote:
> > Hi,
>
> > I'm cur
Hi,
I'm currently trying to set up a development environment for a pylons
project on a new/different machine. However, I'm struggling to get
formbuild to work the way it used to on my old/previous machine.
Old system:
>>> from formbuild import Form
>>> form = Form()
>>> form.field(label="Test", t
Hi,
I've had a similar problem, but using Pylons 1.0.
The login system (using AuthKit-0.4.5) was working until I upgraded
from WebOb-1.0.1 to WebOb-1.0.3. My pragmatic solution to this problem
was to simply revert back to WebOb-1.0.1.
Cheers,
Tjelvar
On Mar 14, 8:50 pm, Людмила Треть
e. [SQlAHelper -> SQLAHelper]
http://sluggo.scrapping.cc/python/Akhet/transaction_manager.html
Cheers,
Tjelvar
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To
up in my current project?
Or would it be more productive to start the project from scratch using
the paster pyramid_sqla template and then copying and pasting
functionality from my Pylons project into the Pyramid project?
A tutorial on how to port a small python project would be very much
apprecia
I start changing things in my exisitng project? What changes do
I need to make? Or would it be more productive to start a project from
fresh using the paster pyramid_sqla template and copy and paste
functionality from my Pylons project?
A tutorial describing how to port a simple Pylons project to P
30 matches
Mail list logo