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
http://www.livejourna
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 history
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 value
>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 ca
(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. Idea
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 kno
Cheers,
So if I upload my files to a directory (media) on my Linux server,
www.foo.com say, I need to add:
/public_html/media/www.foo.com/ to the MEDIA_ROOT
and http://www.foo.com/ to MEDIA_URL to settings.py
In my base template, can I just use style.css or do I need to point to
the absolute re
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 MEDIA_ROO
Hi,
I'm fairly new to Django and have a project at University where I am
creating a league table manager with a web interface. I'm having
problems viewing CSS in my templates online i.e.
http://localhost:8000/leaguemanager/ shows an index page which links to
style.css, but in the server window I'
Op vr, 03-03-2006 te 11:54 -0600, schreef Eugene Lazutkin:
> ...but your own separate physical computer is even better. And for
> moderately serious stuff you can use your own collocation facilities
> spread around the globe, which can be supplemented by relatively cheap
> Akamai offering. :-)
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:
---utiltag.py
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
http://www.livejournal.com/users/lawgon
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 runtime
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 djan
hi,
i am using revision 2486. In one installation in mandrake, i am able
to install admin. With the identical files in debian i get this
error:
xlquest:/home/ootygolf/ootygolf# django-admin.py install admin
Traceback (most recent call last):
File "/usr/bin/django-admin.py", line 5, in ?
m
16 matches
Mail list logo