Don't forget to add a __unicode__ method to your models.
//Thomas
2008/11/29 mobil <[EMAIL PROTECTED]>
>
> How to make the admin interface display a list of table columns
> instead of just a Users object
>
> Select users to change
>
>* Add users
>
> Users
> Users object
> Users object
> Users
Why don't write {% url delete-quote-page object.id %} ?
HTH
//Thomas
On Nov 27, 2:19 pm, dash86no <[EMAIL PROTECTED]> wrote:
> I'm trying to use a URL tag as following:
>
> delete
>
> my named url is here:
>
> url(r'^quote/delete/(?P\d+)/$',
> 'django.views.generic.create_update.delete_object',
Am 26.11.2008 13:19 Uhr, huw_at1 schrieb:
> A small part of my framework queries a non-Django db due to it being a
> legacy db with primary keys already in use. My question is is there a
> recognised way of applying pagination to non-Django db objects such
> that I can paginate the sql select quer
I think David meant a method in the model not a field so nothing is stored.
//Thomas
2008/11/25 Steve Holden <[EMAIL PROTECTED]>
>
> David Zhou wrote:
> > On Tue, Nov 25, 2008 at 3:55 AM, sajal <[EMAIL PROTECTED]> wrote:
> [...]
> >
> > Personally, if the current age of a person is something you
Am 16.11.2008 21:51 Uhr, Lee Connell schrieb:
> ... What I want to do is allow the user of my django app to login just
> once, then if the user wishes to access the "embeded site" and
> recieves the WWW-Authentication : NTLM response, I can just pass the
> user and pass so the user is allowed a
results.append({'URL': '/feed/%s/show/%s' % (item.rss, item.rssfeed),})
On Thu, Aug 21, 2008 at 23:29, Bobby Roberts <[EMAIL PROTECTED]> wrote:
>
> hi.
>
> I'm trying to figure out how to dynamically replace things in a string
> as follows:
>
>
>results.append({'URL': '/feed/%s/show/%s' (%ite
r than just one column ? For instance, say
> I have a 'sales table' and I want to list the sales number as the
> first column, then the customer name and so forth. Do I need to edit
> the template for this?
>
> - james
>
> On Apr 21, 4:58 pm, Thomas Kerpe <[EMAIL PROTECT
Hi James
define a __str__ or better __unicode__ method within your model which
returns the correct string.
i.e.
def __unicode__(self):
return self.name
//Thomas
Am 21.04.2008 um 23:55 schrieb jwwest:
>
> Hey all,
>
> I'm not sure what I'm doing wrong in my models file, but when I add
>
Hi khayman,
Replace:
SetEnv DJANGO_SETTINGS_MODULE settings.py
With:
SetEnv DJANGO_SETTINGS_MODULE projectname.settings
//Thomas
Am 21.04.2008 um 23:06 schrieb khayman:
>
> I have installed Apache, modpython and Django via apt-get. Apache and
> modpython are working (I can serve normal files
Hi Eric
Am 06.04.2008 um 06:49 schrieb Eric Abrahamsen:
>
> Guess I'll have to serve the files from django's apache, not my other
> media server, but it seems like this will do it.
That depends on your setup.
You can also use a X-Sendfile or X-Accel-Redirect capable Server as
your frontend-Pr
relatively slow mod_python-apache.
If you are using Apache or lighttpd as a frontend-proxy you can use a
similar aproach with: X-Sendfile.
Or you use Amazon s3 etc...
Greets,
Thomas Kerpe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
11 matches
Mail list logo