Thank you all for the great work done! Django is the best web
framework ever written, it's really time to spread the word and use it
everywhere!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
It seems that get_FIELD_url accessor method is not available while
using FilePathField into my models.
Is there any reason why it hasn't been implemented?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Okay, that's a valid reason, but I really want these files to be into
MEDIA_ROOT and get file's absolute url using a get_FIELD_url method.
Is subclassing the field and implementing contribute_to_class method a
good idea?
On 23 Apr, 18:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> FilePathF
Nice one! That's better than implementing a new field because I am
using FilePathField in one model only
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
On 26 Giu, 16:24, "va:patrick.kranzlmueller"
<[EMAIL PROTECTED]> wrote:
> see:http://code.djangoproject.com/wiki/PyCallTag
>
> patrick
>
Really really bad (and OT). Please don't encourage the use of this
tag, it breaks MVC. Never mix html with programming logic.
--~--~-~--~~
On 12 Lug, 08:42, Przemek Gawronski <[EMAIL PROTECTED]>
wrote:
> Hi, any one willing to share some examples of django newforms with
> jQuery?
Few months ago I posted on djangosnippets.org a widget that uses the
jquery autocomplete plugin written by Jörn Zaefferer, have a look at
http://www.django
It's better to have the MEDIA_URL settings available in the request
context. Write your own template context processor, so you could have
{{ media_url }}/js/foo.js instead of hardcoding urls in templates. If
you need to serve admin media from a separate server or change media
directory you'll be a
Are you using authentication? It's better to handle security policies
in your application instead of hiding informations in URLs
Have a look at http://www.djangoproject.com/documentation/authentication
Bye,
Massimo
--~--~-~--~~~---~--~~
You received this message
On 14 Lug, 21:43, Joe Beharriell <[EMAIL PROTECTED]> wrote:
> Has anyone worked with processing inbound email messages through
> Django? If so, can you offer any tips, tricks, or examples that may
> help me with developing this further?
Hello Joe,
The email module of the python standard library a
use
> {{ MEDIA_URL }} in your templates.
>
> On Jul 14, 6:43 am, skam <[EMAIL PROTECTED]> wrote:
>
> > It's better to have the MEDIA_URL settings available in the request
> > context. Write your own template context processor, so you could have
> > {{ media_ur
You should be able to build a middleware similar to
http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser ,
getting request.session instead of request.user
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
I've already built this stuff, you have to build a database model and
a middleware to track user visit and then calculate how long user was
online.
For online users please have a look at the following posts:
http://groups.google.it/group/django-users/browse_thread/thread/4ba5652bcbd1f958/958c6e77
12 matches
Mail list logo