There isn't really anything Django-specific here, although there might
be helper apps. But take a look at FlowPlayer, which is a free,
customisable Flash video player (I think it plays both FLV and H.264).
For converting videos, ffmpeg is the thing, and a quick Google
suggests there are at least a
On Oct 8, 11:22 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> They won't. Django is Python first and foremost. So modules must have
> legal names.
So what about all those Django apps with hyphens in their names?
--~--~-~--~~~---~--~~
You received this messa
First of all, congratulations to the team on reaching 1.0. It looks
like a lot of good features landed in time.
One thing that I still find messy, though, is the whole user/profile
thing. Having separate models for users and profiles has a number of
drawbacks:
* extra DB hits
* having to tra
The only thing you really /need/ root for is having some web server
process (usually Apache or lighttpd, for example) bind to port 80.
Everything else can be done without it. In fact, in any typical set
up, once port 80 has been bound to you're not running as root any more
anyway.
--~--~-
On Jul 10, 9:52 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> http://www.djangoproject.com/documentation/static_files/
This isn't going to work. A forum is a dynamic site, so some of it
will be served by, for example, CGI.
--~--~-~--~~~---~--~~
You received this
It is absolutely a legitimate concern.
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send ema
There are no licensing issues with either Python or Django, which are
both distributed under very liberal licenses (Python Software
Foundation License and the BSD license respectively).
http://www.python.org/psf/license/
http://www.opensource.org/licenses/PythonSoftFoundation.php
http://code.djan
In response to a request on this mailing list, I recently wrote an
introductory Django article for Digital Web Magazine. It's now online
at
http://www.digital-web.com/articles/intro_to_django_helping_perfectionists_with_deadlines/
Enjoy!
--~--~-~--~~~---~--~~
You
I would be interested, but I'm in Cambridge so it's unlikely I'd
attend every month.
--~--~-~--~~~---~--~~
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
You can't do "key, value" in Django 0.96. You need to do "for item in
obj.items" and then use item.0 and item.1, or use a development
version.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Apr 11, 11:37 am, Panos Laganakos <[EMAIL PROTECTED]>
wrote:
> I'm wondering if working on a
> middleware, `process_view` or something would be the right place to
> make the conversion.
Not a middleware, but a context processor.
http://www.djangoproject.com/documentation/templates_python/#sub
Hi, Levi. I've just had a look through the code, and it appears you're
in luck (at least in the trunk -- I haven't looked elsewhere). core/
handlers/base.py contains this line[1]:
# Get urlconf from request object, if available. Otherwise use
default
urlconf = getattr(request, "urlconf",
It's not possible to use aggregate functions in any Django release,
but IIRC it is something that has been added in the queryset-refactor
branch.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
On Mar 27, 9:05 pm, Mike H <[EMAIL PROTECTED]> wrote:
> Reading large
> chunks of file data from a db just wastes db resources
A recipe is unlikely to be a large chunk of file data. Pictures of
food, sure, don't store those in the DB. Storing the text in the DB
also means you can make use of its
On Mar 27, 7:31 pm, shabda <[EMAIL PROTECTED]> wrote:
> Considering that BlobField is not supported, what are you using to
> store binary data. Recipes, snippets ..
But these aren't binary data; they're text, so why not use a
TextField?
--~--~-~--~~~---~--~~
You
On Mar 20, 7:44 pm, "Katz, Aryeh \(akatz\)" <[EMAIL PROTECTED]> wrote:
> The downside of this method is that the user can still authenticate against
> Django.
I set my passwords in Django to something like 'get password from
LDAP'. This is an invalid hash, so no one would ever be able to
authenti
I have an Alert model that has an AlertState field, and an
AlertStateChange model that has fields for Alert, AlertState and a
timestamp. I'd like to know the best way to create a report that has
the average time between two given states. Currently, I have a custom
save method in alert that create
> If you're a TextMate user this greenish Django syntax highlighting
> theme could interest you:http://www.tmthemes.com/theme/Django/
But a bit odd that they use what looks like Ruby code to demo it!
--~--~-~--~~~---~--~~
You received this message because you are
On Nov 1, 2:55 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Set it in your model's save() method.
I guess the point is that it's bad practice to hard-code magic values.
Having thought about it some more, two options that spring to mind
are:
1) Have a boolean 'default' field in the Severi
I have a model that contains a field, severity, that is a ForeignKey.
When I create a new instance, I'd like that field to have the id of
the Severity instance with the name 'Low'. What is the best way to do
this? Putting default=1 in the model breaks encapsulation. I could
manually set it to Seve
On Oct 25, 4:17 pm, bramble <[EMAIL PROTECTED]> wrote:
> It would be trivial to just add a short sentence in the tutorial
> saying something like, "Behind the scenes, Django sets things up such
> that you automatically get instance variables for each of the class
> variables you've set up.". Smal
Yeah, Django is doing some magic using a metaclass for Model
(ModelBase, which is badly named IMO, as it isn't Model's base class).
Most of the magic is in django.db.models.base.
The documentation tells you how to /use/ the model API, though. I
don't think there's any need for the docs to explain
22 matches
Mail list logo