he other cache backends enough to know about this method for them.
Cheers,
deryck
--
Deryck Hodge
Lead Developer, Product Development
Washington Post.Newsweek Interactive
Samba Team
http://www.devurandom.org/
--~--~-~--~~~---~--~~
You received this message because yo
/django-developers/msg/752493e7dd47f937
A work in progress still, I believe, so possibly some changes yet to
come. See the parent thread for all the details.
Cheers,
deryck
--
Deryck Hodge
Lead Developer, Product Development
Washington Post.Newsweek Interactive
--~--~-~--~~~---
in addition to the EMAIL_HOST,
etc. settings? If so, I'd open the Python interpreter and try to run
django.core.mail.mail_admins manually to see what errors. If not
obviously errors, start looking through server logs.
Cheers,
deryck
--
Deryck Hodge
Lead Developer, Product Development
Washington Po
-per-site-cache.
If you're not using caching site-wide, explain more about how you're
using caching and how it's getting confused.
Cheers,
deryck
--
Deryck Hodge
Lead Developer, Product Development
Washington Post.Newsweek Interactive
--~--~-~--~~~---
On 6/8/07, Tarek <[EMAIL PROTECTED]> wrote:
> I've seen through Google that Django used to have an event framework
> (http://code.djangoproject.com/ticket/421).
> But it seems deprecated.
>
> What should I use now ? Is there any event framework avalaible
> anymore ?
>
> If yes, is there somewhere
On 6/6/07, ilDave <[EMAIL PROTECTED]> wrote:
>
> The line is there, inside the settings.py
> It looks like
> ROOT_URLCONF = 'testdrorys.urls'
> ('testdrorys' is the name of my project)
> and the file urls.py is in the same directory as settings.py
>
> I'm getting confused...
On a second look, giv
On 6/6/07, ilDave <[EMAIL PROTECTED]> wrote:
> AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'
>
>
> What's wrong with my configuration? It seem that python can't find the
> urls.py file, but it is in the right place and everything is readable
> by apache...
>
Your settings file
On 6/5/07, Gerard M <[EMAIL PROTECTED]> wrote:
>
> Hello dear django users community.
> I have a little question, I've been digging for the past weeks trying
> to get together all the technologies I need to host a django powered
> app, and this is what I've managed to do:
> I'm running Linux Ubunt
On 6/5/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> SetHandler None
>
>
> Can you do the same for single files?
>
You can, and probably would be better than the mod_rewrite overhead in
this case.
Cheers,
deryck
--~--~-~--~~~---~--~~
You received this m
On 6/4/07, Psamathos <[EMAIL PROTECTED]> wrote:
> Anyone with an idea what this could be?
>
> Error: Couldn't install apps, because there were errors in one or more
> models:
> django.contrib.admin:
> django.contrib.sites:
> django.contrib.contenttypes:
> django.contrib.sessions:
> django.con
On 4/10/07, Steve Bergman <[EMAIL PROTECTED]> wrote:
> And, OK, I'll fess up and say that I want to think in python and not
> have to switch gears back and forth between python and javascript. ;-)
To me, for all the other arguments people make, this is the real
issue: wanting to avoid writing Jav
r understandable reasons. It
would be interesting to actually test the impact of a logger, though,
just to know for sure.
Cheers,
deryck
--
Deryck Hodge
Web Developer, Product Development
Washington Post.Newsweek Interactive
http://www.devurandom.org/
--~--~-~--~~~-
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Has anyone successfully used gmail's smtp to send mail? I've been
> trying, but so far no luck. I've added this to my settings.py:
>
> EMAIL_TLS = True
> EMAIL_HOST = smtp.gmail.com
> EMAIL_HOST_PASSWORD = mypassword
> EMAIL_HOST_
On 2/28/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote:
>
> hey everyone,
>
>
> 1. is there any way to serialize models and remove some fields? I.e. I
> would like to serialize User for example, but I definitely don't want
> the email to be there.
>
The serializer in trunk has a fields opti
On 1/18/07, conrad22 <[EMAIL PROTECTED]> wrote:
Deryck, I thought it ought to be along those lines, but I can't seem to
get it working.
I'm trying to use:
org_name = models.CharField ('Organisation', maxlength = 200)
class Meta:
ordering = 'org_name',
But still sorts chronologically
On 1/18/07, conrad22 <[EMAIL PROTECTED]> wrote:
I might be missing something in the documentation here, but is there an
obvious/easy way to call a list of objects
alphabetically?
All that 'ordering' does in a Meta class on a model is order
chronologically, no?
with thanks
No, it orders by wh
On 12/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I use a generic detail view to show user info. I want to also be able
> to return that info via ajax, but I'm having trouble getting ALL the
> user stuff. Here's the view:
>
> def view_profile(request, slug, js=''):
> from django.vi
d on your successful
authentication from another source, but once that's done, the auth
middleware continues to work as you'd expect it to.
Cheers,
deryck
--
Deryck Hodge
http://www.devurandom.org/
--~--~-~--~~~---~--~~
You received this message becaus
like more info, please contact me directly -- deryck (at)
samba (dot) org. I realize the situation may not suit many here, so
if you know someone who might have the skills and be interested, feel
free to pass along my note.
Cheers,
deryck
--
Deryck Hodge
http://www
s, Malcolm. If you have any ideas about the API, or would like
some help shaping this patch into what you think may be ideal, I'm
glad to continue helping on this.
Cheers,
deryck
--
Deryck Hodgehttp://www.devurandom.org/
Samba Team
ent 'fields'
>
> It works OK on XML, though. Any ideas?
>
Thanks, Daniel, for the traceback. I think I know why this is
happening -- it's related to the relationship and the conditional I
used. I'll test with a similar example and update the patch.
Sorry for the delay,
provides a
small patch to limit by field for the serializers module. Something
like -- serializers.serialize('xml', stories, fields=('headline',
'name'))
Perhaps you could try the patch attached to the ticket. Also, I
mention it just to dr
ut server
time diffs is what I was thinking, too) but it wouldn't hurt to try
cifsfs. smbfs hasn't been maintained for awhile now and weird
behavior with smbfs is common (if you take comments on the Samba list
as authority :-))
Cheers,
deryck
--
Deryck Hodge
who will write it is still
unknown.
Cheers,
deryck
--
Deryck Hodgehttp://www.devurandom.org/
Web Developer, Naples News http://www.naplesnews.com/
Samba Team http://www.samba.org/
--~--~-~--~~~---~--~---
r of
> being able to do one of those searches and see all the cool sites
> running Django. Woo hoo! :-) )
Indeed, woo hoo! :-) That is cool.
(And I didn't have a problem with the robots meta tag. Doesn't hurt
anything. Just curious if I really should be worried about
em? It's
not like the default, well-documented admin location isn't /admin/ on
a Django site. I not trying to be a smart aleck or critical. I'm
really curious what I'm missing. Why does it matter that a search
engine knows where the admin page is?
Cheers,
deryck
--
Dery
ns, but the JavaScript API is very
nice, too, if you don't mind a client-side implementation.
Cheers,
deryck
--
Deryck Hodge http://www.devurandom.org/
Web Developer, Naples News http://www.naplesnews.com/
Samba Team
On 8/12/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> I put in for space for a BOF yesterday, but I haven't heard anything
> yet. I don't know if it being such short notice will be a problem or
> not. When I hear something, I'll let you know. BOFs don't star
On 8/11/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 8/11/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> > Anyone planning to attend LinuxWorld next week? I'll be there doing a
> > tutorial on Monday, but I have free time Monday night and Tuesday
> &
assuming there is space.
Cheers,
deryck
--
Deryck Hodgehttp://www.devurandom.org/
Web Developer, Naples News http://www.naplesnews.com/
Samba Teamhttp://www.samba.org/
--~--~-~--~~~---~--~~
Yo
ly need the quotes on the second
path of the Alias directive.
This smells to me of a faulty RewriteRule, though. Not sure, but I'd
drop that and give it a try again.
Cheers,
deryck
--
Deryck Hodgehttp://www.devurandom.org/
Web Developer, Naples News
out = commands.getoutput("some command")
print 'Content-type: text/plain\r\n'
print out
I ran this as cgi and could run commands as needed and see their
output. Like Kenneth says, not ideal for serious development, but for
a personal site it's not bad. And now that
On 7/28/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 7/28/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> > Is it possible to do a self referencing manytomanyfield pre magic
> > removal?
>
> No, I don't believe we supported self-referencing m
Is it possible to do a self referencing manytomanyfield pre magic
removal? Something like:
class Url(models.Model):
location = models.URLField()
referrers = models.ManyToManyField('self', blank=True, null=True)
Cheers,
deryck
--
Deryck Hodge
icant
plus and much should be made of it.
In a previous job, I worked with a Rails developer, and I was always
put off by the clumsy way in which he had to run multiple apps. The
single-project-with-multiple-apps or multiple-sites-with-core-apps
model really mirrors real world development
ptions are: 'ado_mssql', 'mysql',
> 'postgresql', 's
> qlite3'
Hi.
You need to install the python module pysqlite2. If using a package
manager, it's usually called something like python-pysqlite2.
Cheers,
deryck
--
Deryck Hodge
36 matches
Mail list logo