Op maandag 27 september 2010 09:08:53 schreef MrMuffin:
> Where do you put your business logic in django? In my project I`ve put
> it into the models.py, but that file soon become huge and hard to
> maintain. Of course I can just stuff it into whatever file I like, but
> I`d like to have some stand
Hi,
I'm curious about using Django for many small web sites. Does this
require each site to run in a separate wsgi daemon process? If so, how
is it possible to keep memory usage shared?
Thanks in advance,
Diederik
--
You received this message because you are subscribed to the Google Groups
"D
all ran as the
> same user, then one django project could monkey patch another one which
> creates all kinds of interesting security issues.
>
> Brian
>
> On Thu, Oct 14, 2010 at 4:45 PM, Diederik van der Boor
wrote:
> > Hi,
> >
> > I'm curious about usi
Op woensdag 30 maart 2011 17:48:38 schreef 付毅:
> hi Xavier Ordoquy
> So , you mean 60M per python process is in a normal status? I really
> encouter this kind of website before
Please note this is for the entire website, not per apache instance.
There is one Django process (via mod_wsgi, or standa
Hi,
In CMS interfaces I generally encounter a problem with URL fields.
In most situations, the following options need to be supported:
- An URL to an external page (Django's URLField can handle that)
- An URL to an internal page (e.g. Django CMS)
- An URL to an other model (e.g. article)
How can
Op 13 feb. 2012, om 18:50 heeft Jonathan Paugh het volgende geschreven:
> Each model supports a get_absolute_url(self) method, which allows you to
> retrieve each object's url in whatever way you want, including pulling
> values from self (i.e. the model object.). Returned urls are in serveral
>
In pre 1.4 projects, it was common for projects to have multiple ways to import
stuff;
because the project path, and the path 1 level up were both in the python path.
This way, you can actually have 2 versions of the module imported,
and hence your singleton breaks (depending on the route taken t
Second that. If you consider moving back to MySQL,
at least make they've seen the following video at:
http://wekeroad.com/2012/07/19/postgresql-rising
;-)
Secondly, timezones of 1.4 are painful in MySQL to convert to,
and south migrations won't be able to rollback failed schema changes.
Greetin
The hostname "localhost" has a special meaning for MySQL, at least on Linux it
has.
When you ask the mysql driver to connect to localhost, it will use the socket.
To avoid this issue, better use 127.0.0.1.
Also check whether the MySQL server is running on that port (netstat -a ?),
whether the ser
Hi all,
I've asked this question on stackoverflow
(http://stackoverflow.com/questions/18913661/using-django-relatedfield-for-custom-join-queries),
but figured it might be better to post it here:
I'm curious whether a RelatedField can be used to cause custom join queries.
I would like to apply th
You can place a new .po file in a `locale` folder of one of your INSTALLED_APPS.
This will be picked up, and can override the locale of mezzanine,
if your app is placed before mezzanine in INSTALLED_APPS.
Off course, run django-admin.py compilemessages in the root folder where the
`locale` folder
Hi Sven,
What you describe sounds like a Mailinglist..
Wouldn't it be possible to use Mailchimp or Aweber for this kind of service?
>From Django you can use their API's.
Mass-mailing has a risk of being blacklisted as server,
at least make sure you send email via a whitelisted SMPT server (and no
Hi All,
I'm working on an API-server project that uses dynamically generated Django
models, so it can service many user-provided datasets. To ease maintenance
work, we'd like to generate the SQL statements to migrate database tables
to a newer version of the schema. I've managed to use the inte
13 matches
Mail list logo