As you can see from my installed apps above, I don't have
django.contrib.admin in there yet, and so the first item is satisfied.
Also, I don't have django.contrib.flatpages or
django.contrib.redirects.
And in any case, I am using django-admin.py to generate all of this -
I'm not modifying anythin
Found it. I had an old install that was overriding the settings. Not
exactly sure how as it wasn't in the sys.path, but in any case I've
moved the old directory and now it's all good.
Thanks, Tom
--~--~-~--~~~---~--~~
You received this message because you are sub
Hello Luke,
Thank you for your reply.Unfortunatelly I use Python 2.3 so, I can not
use decorators as you described.
Is it possible to change HTTP headers ,in Django,in this way below?
response= HttpResponseRedirect("/ChangeProductList/")
response['Pragma'] = "no cache"
response['Cache-Control']
On Sat, 2006-05-13 at 02:49 -0700, PythonistL wrote:
> Hello Luke,
> Thank you for your reply.Unfortunatelly I use Python 2.3 so, I can not
> use decorators as you described.
Decorators are just a convenient way of wrapping one function inside
another. You can still get all the functionality by j
"James Bennett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 5/12/06, Andrew Badstubner <[EMAIL PROTECTED]> wrote:
> > I need to use this, and would love some more information.
> From what I understand, one-to-one relationships will be obsoleted by
> proper subclassing of mo
On May 12, 2006, at 8:13 PM, furtado wrote:
> I can't figure out a way of using a simple blog app for each user
> in my
> project. Ideas?
Oh, I've got lots of ideas... I'll bet if you take two mousetraps,
and roll of duct tape, six strips of bacon...
Oh you mean ideas about what *you* want t
On 5/12/06, Karl Fast <[EMAIL PROTECTED]> wrote:
>> Can anyone point me to examples of django apps that either do not use
>> a database, or use it for only part of the app? Looking for source.
>>
>> I'm specifically interested in examples with models that use other
>> persistence backends (like a c
>>I can't figure out a way of using a simple blog app for each user
>>in my
>>project. Ideas?
>
>
> Oh, I've got lots of ideas... I'll bet if you take two mousetraps,
> and roll of duct tape, six strips of bacon...
This is great. :)
I think mailing lists should have this link inserted into
On Friday 12 May 2006 20:56, Eric Walstad wrote:
> I looked for the string 'never_cache' in my copy of the
> 'Sargasso'(pre-agic-removal) branch but didn't find anything. Do you
> know if this feature is available there? Perhaps under a different
> name?
No, it's not there. However, most of i
- you could use a foreign-key to user to assign blog-entries
- this (http://lukeplant.me.uk/blog.php?id=1107301634) may help
- define urls like: mydomain.com/user_id/blog/blog_entry_id/
- if every user should be able to change the look & feel of his/her
blog it´s getting more complicated (...)
On Friday 12 May 2006 10:32, Malcolm Tredinnick wrote:
> Now, slicing on QuerySets is used to provide SQL's offset and limit
> functionality. So evts[1:], which you have later on in the code
> translates (approximately) to SELECT ... FROM ... WHERE ... OFFSET 1.
> On the other hand, something lik
Malcolm Tredinnick wrote:
> On Sat, 2006-05-13 at 01:33 +, George Sakkis wrote:
> > Is there a way to combine python properties with Django fields so that
> > one can essentially use both regular (persistent) and callable fields
> > transparently ? If the previous sentence didn't make any sen
Hello,
I have an inline-editable model with a FileField, which is set as the
only core field. When I return to the admin page to add another file,
it deletes any previously uploaded files.
I assume this is because the form input fields are blank for
pre-existing files, as I do not hit 'Browse' a
The Django documentation here [1] says something about it being very
useful that Context objects are stacks.
[1]: http://www.djangoproject.com/documentation/templates_python/
"""
A Context object is a stack. That is, you can push() and pop() it. If
you pop() too much, it'll raise django.template
hi,
imagine the following model:
class Person(Model):
name = Charfield(maxlength=100)
friends = ManyToManyField('self')
this works fine, but it's not enough for me :-(
i need to add some extra data to that relation.
i need to know WHO created that is-a-friend-of relation, and
On May 13, 2006, at 4:30 PM, nevroe wrote:
> The Django documentation here [1] says something about it being very
> useful that Context objects are stacks.
>
> [1]: http://www.djangoproject.com/documentation/templates_python/
>
> """
> A Context object is a stack. That is, you can push() and pop()
Jacob Kaplan-Moss wrote:
>>
>> I'm trying to figure out the case scenario where this becomes a useful
>> thing, and I couldn't find the mentioned documentation. Did I miss
>> it,
>> or does anyone have a good example where it is useful to have template
>> context as a stack?
>
> Well, the cano
George Sakkis wrote:
> After digging a little into Django's guts, I came up with a simple
> field that is also a property:
>
> from django.db.models import Field
>
> class PropertyField(Field,property):
> def __init__(self, func, **kwds):
> Field.__init__(self,**kwds)
> # allo
Rick wrote:
> Thanks,
>
> It turns out I had the mod_rewrite rules wrong.
> I've also gotten rid of my python error.
>
> How did you get svn working?
No svn although I'm thinking in installing the binaries locally.
Saludos,
IvO
--~--~-~--~~~---~--~~
You receive
19 matches
Mail list logo