Hi,
I implemented my customs manipulator like this:
class ProductManipulator(formfields.Manipulator):
def __init__(self):
Po=categorys.get_list()
self.fields=(formfields.SelectField(field_name="CategoryF",
choices=Po),
PythonistL wrote:
> Hi,
> I implemented my customs manipulator like this:
>
> class ProductManipulator(formfields.Manipulator):
> def __init__(self):
> Po=categorys.get_list()
>
> self.fields=(formfields.SelectField(field_name="Catego
On 3/15/06, PythonistL <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I implemented my customs manipulator like this:
>
> class ProductManipulator(formfields.Manipulator):
> def __init__(self):
> Po=categorys.get_list()
>
> self.fields=(f
Hello,
is it possible to change the date format in the admin interface to the
european version, i.e. dd-mm-, or any other format, for that
matter? I have no problem formatting it whichever way in the views, but
haven't figured out an easy way to do this in the admin. Is there some
setting I c
Sorry for cross-posting, but I thought this would be relevant for
both groups. I'm reworking a simple store with the magic removal branch
and running into a bit of a snag. When I create a record in the admin
interface for a model which has an ImageField, I get an import error in
admin_list.py on
> > > > AttributeError: 'module' object has no attribute 'someapp'
>
> And is there a directory named "myapp" under the directory
> "myproject"?
Argh, I've got the old directory structure with "apps", but didn't
look at the right place. Everythings working now.
Thanks again,
Arthur
--~--~-
Jeremy,
You might want to raise a ticket on this so the development team will
know about it.
Cheers,
Tone
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to d
Thanks a lot.That solved my problem
L.
--~--~-~--~~~---~--~~
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 em
Thanks. After thinking about it some more, now the idea of having app
directories beneath the templates directory makes sense: I will have a
project-level banner and nav bar that will be used by multiple apps. So
I moved my templates directory back to where it was, right under the
project director
all,
what is the correct syntax to create a new object that contains a
many2many
field?
ive tried obj = module.model(field1=value1, m2m=[v2]) and it
chokes...couldn't
find anything in the documentationpls help.
--~--~-~--~~~---~--~~
You received this message
Hi Ian,
I have what you say there, and I get the error message of:
EnvironmentError: Could not import DJANGO_SETTINGS_MODULE
'myproject.settings' (is it on sys.path?): No module named
myproject.settings
please help!
--~--~-~--~~~---~--~~
You received this mess
Thanks, Ian, for trying. Following your recommendation to
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
then on the first try the error message becomes:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/
someone points out "users confusion" in the topic linked below, which
took me days to sort out, this might be easier to spot for those who
are closer to Adrian in their abilities but NOT ME!
http://groups.google.com/group/django-users/browse_thread/thread/f13b3d5e33b9b059/00b090f8fb716ec1?q=login
Hi, I'm having problems with django and mysql over apache2 on windows
2000 server.
I'm getting errors about connecting to mysql database, I figured out it
is about threading problems. I've searched this problem over the
network and I've found a fix in the tickets intended to solve this. I
have ap
There are some date format variables in the setting file. Although I
haven't played with them personally, I understand them to be the
defaults when no format is provided in the views/templates. I'm
guessing that the admin uses them so try changing to your preferred
format there.
On 3/15/06, yuri
I could handle it better, but by catching the exception I get a list of
all of the reservations that are 'in the way'
In the view code:
try:
new_reservation =
server.add_reservation(trainer=trainer,start=start,end=end)
except AlreadyReserved, e:
error = 'Please choose another server,
On 3/15/06, Domiel <[EMAIL PROTECTED]> wrote:
what is the correct syntax to create a new object that contains amany2manyfield?There is no 'single statement' syntax for creating an object with m2m fields - you have to create the object, then add the m2m relationships to it.
Examples are here:http:
On 3/15/06, yuri <[EMAIL PROTECTED]> wrote:
> is it possible to change the date format in the admin interface to the
> european version, i.e. dd-mm-, or any other format, for that
> matter? I have no problem formatting it whichever way in the views, but
> haven't figured out an easy way to do
Has anyone heard of something along the lines of a 'RadRails' for
Django?
I google'd around and didn't see anything, other than PyDev. But I was
thinking that a similar product would be a pretty nice feather in
Django's hat.
I'm a n00b with Python, but I'm trying it and Django out for some side
Will do.
Thing is, this site 'live under development' and I'm the sole developer
and I'm pressed for time!
When I apply this, I'll tell you what the deal is ( really hope it
works!), In the mean time I'm just restarting the server.
--~--~-~--~~~---~--~~
You rece
On 3/16/06, Doug Van Horn <[EMAIL PROTECTED]> wrote:
>
> Has anyone heard of something along the lines of a 'RadRails' for
> Django?
>
> I google'd around and didn't see anything, other than PyDev. But I was
> thinking that a similar product would be a pretty nice feather in
> Django's hat.
>
> I
On 3/15/06, Doug Van Horn <[EMAIL PROTECTED]> wrote:
> Anyway, this might not be the best place for this thread, but I thought
> I'd throw it out there. On a tangent, if anyone would care to
> elaborate on their own IDE setup for working with Django, I'd
> appreciate it!
On windows, I use UltraE
On Thursday 16 Mar 2006 9:36 am, Doug Van Horn wrote:
> Anyway, this might not be the best place for this thread, but I
> thought I'd throw it out there. On a tangent, if anyone would
> care to elaborate on their own IDE setup for working with Django,
> I'd appreciate it!
i dont believe in IDE's
I use scite (http://www.scintilla.org/) for quick edits. It loads
fast, has syntax colors, and regex based search and replace.
For serious Python work I have started using SPE - Stani's Python
Editor, and like is so far
http://stani.be/python/spe/blog/
If I have eclipse booted anyway I also use
On 3/15/06, Doug Van Horn <[EMAIL PROTECTED]> wrote:
> Has anyone heard of something along the lines of a 'RadRails' for
> Django?
There's a Django bundle for TextMate, but TextMate's not an IDE.
> Anyway, this might not be the best place for this thread, but I thought
> I'd throw it out there.
I've been using Eclipse for a Django project and have found it very
usable with PyDev and an eclipse html editor plugin I forget the name
of.
I don't really get the whole argument about it being more "removed from
code". I can still run and debug code, but I get the added benefit of a
single works
On Thursday 16 Mar 2006 11:50 am, SmileyChris wrote:
> I don't really get the whole argument about it being more
> "removed from code". I can still run and debug code, but I get
> the added benefit of a single workspace (and among other things
> nice graphical diff support)
i am not religious abo
yuri wrote:
> Hello,
>
> is it possible to change the date format in the admin interface to the
> european version, i.e. dd-mm-, or any other format, for that
> matter? I have no problem formatting it whichever way in the views, but
> haven't figured out an easy way to do this in the admin. I
hi,
i had set up email for virtual domains, virtual mailboxes etc etc on
a box - backend postgresql. Then need to write a webbased front end
to manage it - suddenly struck me that it could be done in django.
Took about 10 minutes as admin interface was all that is needed.
Now am extending it t
29 matches
Mail list logo