Thanks ! ..that is what I need :)
I'm always wonder how You find time for activity on this list ...36h
day timezone ? :P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Hello,
I'm trying to build application based ond admin interface but here is
problem :)
If i create function that return html it is escaped when used in
list_filter
Example
class Deal(Model):
owner = CharField(maxlength=64)
bla bla ...
def url_to_contract(self):
return '%s
Yes yes :) That was the case :)
It exactly fit my needs
Thankyou very much..
Regards - Spock - male :P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
sysadmin that there change in
customer service type for non standart value :)
Thanx for reply looks like I'll ned to do this as some function in
views.py
with some try except chain..
Regars,
Spock.
--~--~-~--~~~---~--~~
You received this message becaus
Hello,
is there some equvalent to rails actions after_create,after_change ??
Or where start write such tasks ?
I'll would like to send e-mails under some actions made in admin
interface - some specific updates or creations..
Regars
Thx,
In this case if I want get [ ] if result is 0 i need to write my own
method ..
Regards,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@g
nt_set.latest('created_at')
---
django.db.models.base.DoesNotExist
Traceback (most recent call last)
/home/spock/py/wfs/
/usr/lib64/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/manager.py
in latest(self, *args, **kwargs)
85
This looks promising. I'll try.
IMHO such mode should be set in setings.py.
You should have to choose beetwen "default deny" and "default accept"
Maybe Adrian and rest of core dev will include such feature in next
release with:
DEFAULT_ESCAPE_FILTER=False
for reverse compatibility :)
--~--~-
Hello.
I've application where most of data is fetched from database.
Those data are inserted by people without "trust", so in every template
I'm using |escape filter ...so a question is :
Is there is some method to enable global escape filter ? :)
--~--~-~--~~~---~
Helo.
I'm trying to get acces to auth mechanizm into template (user object).
Currently I'm using such construction:
at beggining of my views.py:
--
from django.template import RequestContext as Context
from django.shortcuts import render_to_response
def index(request):
..[cut bla bla ]
Thanx - You were right - comma missed :)
Everything is ok now :P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscrib
#x27;tuple' object is not callable
Exception Location: /home/spock/python/iwywiad/urls.py in ?, line 5
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
Hello, I'm trying to setup MEDIA_ROOT for test application.
Here are reults :)
settings.py
MEDIA_ROOT = '/home/spock/python/iwywiad/media/'
MEDIA_URL = '/media'
ADMIN_MEDIA_PREFIX = '/media/admin/
[EMAIL PROTECTED] iwywiad]$ ls -l /home/spock/py/iwywiad/media
Hello, I'm trying to setup MEDIA_ROOT for test application.
Here are reults :)
settings.py
MEDIA_ROOT = '/home/spock/python/iwywiad/media/'
MEDIA_URL = '/media'
ADMIN_MEDIA_PREFIX = '/media/admin/
[EMAIL PROTECTED] iwywiad]$ ls -l /home/spock/py/iwywiad/media
Hello, I'm trying to setup MEDIA_ROOT for test application.
Here are reults :)
settings.py
MEDIA_ROOT = '/home/spock/python/iwywiad/media/'
MEDIA_URL = '/media'
ADMIN_MEDIA_PREFIX = '/media/admin/
[EMAIL PROTECTED] iwywiad]$ ls -l /home/spock/py/iwywiad/media
Hello, I'm trying to setup MEDIA_ROOT for test application.
Here are reults :)
settings.py
MEDIA_ROOT = '/home/spock/python/iwywiad/media/'
MEDIA_URL = '/media'
ADMIN_MEDIA_PREFIX = '/media/admin/
[EMAIL PROTECTED] iwywiad]$ ls -l /home/spock/py/iwywiad/media
16 matches
Mail list logo