I have pyramid project for data aggregation and planning to reuse the
project for different web sites. This means, the source base shall be
same including models, views, routes except the templates and static
files (logo, css, javascripts).
Hence for each site, I would be having development.ini a
Thank you Mike.. It does help..
On May 23, 8:45 am, Mike Orr wrote:
> On Fri, May 20, 2011 at 8:54 PM, Gopalakrishnan S
>
> wrote:
> > import pylons
> > from paste.deploy import appconfig
> > conf = appconfig('config:' + get_config_
;ve been using for my paster
> commands.https://gist.github.com/981224
>
> If you don't want the paster stuff, the loadapp and threadlocal_manager bits
> are the important ones.
>
> Kai
>
> On Thu, May 19, 2011 at 11:29 AM, Gopalakrishnan S <
>
>
>
>
>
&
Thank you. settings works.. :-)
On May 20, 11:07 pm, Parnell Springmeyer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> `settings = request.registry.settings`
>
> It will be a dictionary of the keys/values in the INI :)
>
> Gopalakrishnan S writes:
> &g
I am porting pylons project to pyramid. I use the pylons.config for my
site domain name, title etc like
pylons.config['site_name'] etc..
how to access the ini content in my pyramid project?
--
Gopalakrishnan Subramani
--
You received this message because you are subscribed to the Google Groups
Does transaction manager commit sqlalchemy session? Really?
I like the idea still..
--
Gopalakrishnan Subramani
On May 20, 8:04 am, Michael Merickel wrote:
> Assuming "transaction.close" is a typo and you meant "transaction.commit",
> you may want to think about not calling it at all and allowi
I have a stand-alone python program which needs the pyramid to be
initialised so that it can take use of models, sessions, etc without
serving web request..
Is it possible in Pyramid? I was using the same with pylons, wonder
how Pyramid support this.
--
You received this message because you are
lot.
>
> Previously (for Pylons) I rolled my own ACL setup using an RDF ACL graph
> and a @authorized decorator for the __before__ method on my
> controllers. That worked really well (I liked using RDF) but doesn't
> feel as "locked in" as the native pyramid imp
I use 4 instances of paste with different local ports and using nginx
to serve the static files and do the load balancing between the paste
instances. Even-though I use single server, the performance difference
is a lot when you run multiple instances of paste instances it may due
to Python's lack
Thank you, Ben.
I will try to use the inbuilt authentication/authorization
capabilities and formalchemy package for forms.
Regards,
Krish
On Apr 20, 10:30 pm, Ben Bangert wrote:
> On Apr 18, 2011, at 12:13 PM, Gopalakrishnan S wrote:
>
> > I am coming from Pylons background
You can use HttpLib2, which is nice package for fetching data from
internet.
For running scripts periodically, you can consider using cron or
celery task manager. celery is good..
--
krish
On Apr 19, 12:12 am, Aviv Giladi wrote:
> Hey guys,
>
> I am using Pylons for two things:
> 1) Serving AP
I am coming from Pylons background and started studying the Pyramid
and looking forward to migrate my site to Pyramid.
1. Are those repose.who and repoze.what are integral part of Pyramid
or any other recommended packages available here? I want to SqlAlchemy
based user/group or user/group/permissi
I have already read about "Pyramid" is a "Pylons Project" on Ben's
blog and his group discussion posting and hackers news. Also referring
to the conversation in this group, I understand that Pylons as a
webframe is in maintenance mode and Pyramid is a new project under
Pylons Project.
http://grou
I am not sure where the feature updates are displayed on the pylons
site, are there any new version coming in Pylons?
Regards,
Krish
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegr
On Oct 30, 9:26 pm, Jan Koprowski wrote:
> Try FormAlchemy or Sprox if You need admin interface in Pylons.
> But this situation can urge You to switch to Turbo Gears which have
> features as admin panel (base on Sprox) out of the box.
>
> On Sat, Oct 30, 2010 at 6:15 PM, Gopalakrish
I have basically two different nature of the platforms for my site.
I use Pylons and I like to continue using pylons for the user serving
applications.
But I have huge task scheduler application which runs along with
celery. I want to have admin interface to manage the tasks and almost
I am looki
I run rss aggregator project and my site crashes whenever it meets the
unusable chars it displays the feed text on the pylons site. The error
falls back to mako template and I am getting errors like
UnicodeDecodeError.
Does mako automatically converts strings to utf-8 conventions? Are
there any wa
I want to use redis as my session data store. How to do I configure
the redis and beaker in Pylons?
I could not find any sample..I could see this link example for
tyrant..
Please help me out..
Regards,
Krish
--
You received this message because you are subscribed to the Google Groups
"pylons
Hi,
I want to use the redis as my database backend and repoze.what and
repoze.who for user login. I could not identify the right application
which uses redis and repoze with pylons.
There is repoze.what.plugins.redis plugins availble, but I don't know
to use it.
Please help me out.
Regards,
Kr
19 matches
Mail list logo