Hello,
I'm writing some scripts for a testing environment. I want to dump some
core stuff from the database, recreate the database, and reload the
stuff.
I can do all the steps individually, but deleting the database requires
closing the db connection. Can I get django to cleanup and close its
Hello, I recently migrated to trunk and all seems great
except that I cannot change the admin user when logged in as admin
user...
the error message in the browser is:
Page not found (404)
Request Method: GET
Request URL:http://127.0.0.1:8000/admin/auth/user/1/
can anyone shed some
Feedjack is a feed aggregator writen in Python using the Django web
development framework.
Website: http://tabo.aurealsys.com/software/feedjack/
Like the Planet feed aggregator:
* It downloads feeds and aggregate their contents in a single site
* The new aggregated site has a feed of its
Feedjack is a feed aggregator writen in Python using the Django web
development framework.
Website: http://tabo.aurealsys.com/software/feedjack/
Like the Planet feed aggregator:
* It downloads feeds and aggregate their contents in a single site
* The new aggregated site has a feed of its
On 5/28/06, CloudMagnus <[EMAIL PROTECTED]> wrote:
> The basic Idea is that I am posting some values to one server from my
> site then I am going to get an asynchronous POST back with some data,
> using that information I am supposed to send a request back to them
> with the same information as a
Stripping leading and trailing whitespace from text fields in forms in
nearly always desirable, but Django doesn't handle this for me.
There seems to be a hook built in for massaging input data before it's
validated: FormField.prepare(). I tried subclassing TextField like so:
class
Thanks for clearing that up. I'm sure once I got off the development
server I would've run in to this problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
I'm having the same problem with my database. I use the ltree structure
to represent a hierarchical order of objects (object is (sub-)part of
object). The way that postgres returns an ltree type is for example
"2:4:45", which basically means id=45 is part of id=4, which again
belongs to id=2. A
On 5/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I assume that any per-URL caching scheme will sooner or later end up
> sending users a wrong page (one that has been generated for another
> user), which could be a major problem. EVERY page is personalized, so I
> can't for instance
On 5/29/06, Konstantin Shaposhnikov <[EMAIL PROTECTED]> wrote:
> I've seen it here http://code.djangoproject.com/ticket/1056 (see the
> first comment by jacob)
> Though I am not sure how actual this statement is. Ticket seems to be quite
> old.
Luke fixed the code in the meantime though.
It
On 5/29/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
> Hi Konstantin,
>
> On 5/29/06, Konstantin Shaposhnikov <[EMAIL PROTECTED]> wrote:
> > I suggest you to not use auto_now_add at all if you are using current
> > (post magic-removal) version of django.
>
> I am using the SVN
Hi all,
I'd like to add a specialized data type for PostgreSQL: the
contrib/ltree type.
I've found the DATA_TYPES hash in the backend creation objects, but my
question is this: What's the least intrusive, best way to add this
mapping for my application?
I could:
1) modify the Django source
auto_now_add has been fixed in [3002]
Hurray for Luke ;)
--
Petar Marić
*e-mail: [EMAIL PROTECTED]
*mobile: +381 (64) 6122467
*icq: 224720322
*skype: petar_maric
*web: http://www.petarmaric.com/
--~--~-~--~~~---~--~~
You received this message because you are
On Mon, May 29, 2006 at 09:48:11AM +0200, Giovanni Giorgi wrote:
> I am planning to build a small personal web site.
> I have used Plone CMS (Zope powered) but it is very slow and requires
> a lot of memory.
I'm coming from a similar camp. I've had a blog running on Zope with
COREBlog for
Hi Konstantin,
On 5/29/06, Konstantin Shaposhnikov <[EMAIL PROTECTED]> wrote:
> I suggest you to not use auto_now_add at all if you are using current
> (post magic-removal) version of django.
I am using the SVN trunk yes. (It would be great if someone could
finally fix trunk's setup.py to
Hello,
On 5/29/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
> Andy,
>
> On 5/8/06, Andy Dustman <[EMAIL PROTECTED]> wrote:
> > Try the patch on this bug:
>
> The 2nd patch didn't work for me, as I noted in the ticket.
>
> The initial save with DateField(auto_now_add = True) is
> How can I verify that caching works?
"apache benchmark" or something like that.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 5/29/06, Konstantin Shaposhnikov <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Do not count this post as self promotion but you can also check my
> personal site :) Here is how it looks like:
>http://step-inside.org
> And here you can browse sources:
>
Andy,
On 5/8/06, Andy Dustman <[EMAIL PROTECTED]> wrote:
> Try the patch on this bug:
The 2nd patch didn't work for me, as I noted in the ticket.
The initial save with DateField(auto_now_add = True) is correct, it
has the date as it should. But using it in conjunction with
FileField() will
Hello,
Do not count this post as self promotion but you can also check my
personal site :) Here is how it looks like:
http://step-inside.org
And here you can browse sources:
http://step-inside.org/projects/stepinside/browser/trunk
Though it is not ported to the latest version (post
Thank you for your reply
Now I have in my settings.py file:
DEBUG = False
MIDDLEWARE_CLASSES = (
"django.middleware.common.CommonMiddleware",
"django.middleware.sessions.SessionMiddleware",
"django.middleware.doc.XViewMiddleware",
"django.middleware.cache.CacheMiddleware",
)
Hi.
I'm in a similar situation --- my site is about to launch and I hope to
have a fair number of visitors.
I looked at the caching middlwares but have a general problem with
them. My site is highly personalized. I.e. the same URL pattern will
generally return slightly different pages for
Not a dumb question. This depends on how sys.path is set. The app that
you are importing still needs to be on the sys.path - either set via
Python code or using the PYTHONPATH env var. If you are running the
test server with manage.py then the directory above your apps is on the
sys.path
Another is:
http://socialistsoftware.com/ and here you can find the source
http://source.socialistsoftware.com/sssource/
ciao ciao
Patrick
>
> Possibly the quickest blog to get up and running is by Ross Poulton -
> http://www.rossp.org/ - his code has not had the magic removed yet
> though...
>
Possibly the quickest blog to get up and running is by Ross Poulton -
http://www.rossp.org/ - his code has not had the magic removed yet
though...
Paul Bissex - http://e-scribe.com/news/171 - has done a *very* small
Wiki implementation.
Cheers,
Tone
On 5/29/06, PythonistL <[EMAIL PROTECTED]> wrote:
> If so, what configurations would you reccomend?
Beefy servers and plenty of caching.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~-~--~~~---~--~~
You received
> I use Django with FastCGI ( via WSGI) and have problems with downtime
> when more visitors come to my website.
1) use cache
2) disable DEBUG
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I use Django with FastCGI ( via WSGI) and have problems with downtime
when more visitors come to my website.
Did anyone test Django apps for high numbers of visitors(hits)?
If so, what configurations would you reccomend?
Thank you for reply
L.
Hi all,
I am planning to build a small personal web site.
I have used Plone CMS (Zope powered) but it is very slow and requires
a lot of memory.
There is some django application for building small blogs or wiki?
I will eventually plan to do something like that if missed ;)
--
Software
On Sat, May 27, 2006 9:22 pm, [EMAIL PROTECTED] said:
>
> Hi, I'm new to both django and python so this may be something simple
> I'm missing.
>
> When I change the code on a file the changes don't seem to reflect in
> the website. After a while they will show up randomly. Later on I
> make a
30 matches
Mail list logo