hi,
i have a site:
http://ootygolfclub.org/web/galls/2/
this is built using nesh's thumbnails app. On clicking a photo, you
should see full size - but you get a thumbnail. After going back
and forth several times, you do get the full size image. What
gives?
--
regards
kg
mahakala wrote:
> Hi, everybody
>
> I just created a simple data entry application in django, and I want to
> use contrib admin as the data input interface and the admin user
> management, I want the system log which staff user input the every
> single line data. I know there is an action
Using Django you don't need to explicitly define the PhotoTag model.
Create your Tag model first, then create the Photo model. In the Photo
model, include a field like such:
tags = meta.ManyToManyField(Tag)
The admin interface will render this as a select box where you can
select multiple
>They way I would enivsage adding this functionality to Django would be
>that in your model you specify, for each Model object (=table), that it
>is to be versioned. Versioning would automatically add a '_version'
>column to the generated DDL, and the standard Django save() routines
>would take
(r'^media/(?P.*)$', 'django.views.static.serve',
{'document_root': 'path/to/document/root/media', 'show_indexes':
True}),
As a temporary measure you can add a line like this to your urls.py in
order to serve media when developing, replacing the path line with an
absolute path to your media.
error when run manager.py init
log show below
C:\djangosite>python mytest01\manage.py init
Error: Your action, 'init', was invalid.
Run "mytest01\manage.py --help" for help.
then i try manager.py --help
in action list really have no init option! I use the remove magic version.
Does anyone
I meant to say "that's just for development, NOT production".
On 3/4/06, Wilson Miner <[EMAIL PROTECTED]> wrote:
> Django doesn't serve media (images, css, etc.). The development server
> handles the media necessary for the admin interface, but that's just
> for production. You'll need a regular
Django doesn't serve media (images, css, etc.). The development server
handles the media necessary for the admin interface, but that's just
for production. You'll need a regular web server (Apache, lighttpd,
etc.) to serve your media. Once you've got that going, you'll need to
update the
I'v written a catch tag, and it can catch the output of it content
(even sub tag in it), then save the output to a var_name. for example:
{% load utiltags %}
{% catch as a %}
{% now "jS F Y H:i" %}
{% endcatch %}
Current time is {{ a }}
the code is:
On Saturday 04 Mar 2006 3:05 pm, Kenneth Gonsalves wrote:
> line 164, in _fetch
> app = getattr(__import__(appname[:p], {}, {},
> [appname[p+1:]]), appname[p+1:])
> ImportError: No module named webdjango.contrib
solved - a missing comma
--
regards
kg
On Saturday 04 March 2006 05:12, wizeman wrote:
> Think about it. Python was an esoteric language in the beginning. And
> Boo isn't that esoteric, it can be thought of as an extension to the
> Python syntax.
> And virtually all .NET libraries can be used in Boo, it runs on the
> .NET/Mono
I also use Dreamhost without any problems.I think my Django projects
run on avalon server
Regards,
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
12 matches
Mail list logo