char wrote:
I have a question about the proper use of Django's built-in admin
functionality. I realize that Django evolved in a newsroom environment
where there is a small number of content publishers/admins and many
readers. But what about web apps where users normally enter, update,
and delete
I'm trying to use formfields.FormWrapper(users.AddManipulator(),
new_data, errors) as described in
http://www.djangoproject.com/documentation/forms/
If I submit a form which has a dropdown (for a onetomany relation) that
doesn't validate, the reloaded page/form remembers all values but not
the dr
> I think I figured it out, you're supposed to call the manipulator's
> prepare() method explicitly which in turn calls the fields' prepare
> methods.
This works great, just add a manipulator.prepare(new_data) call into
your boilerplate add / change views. However Admin doesn't seem to do
this, a
I have a question about the proper use of Django's built-in admin
functionality. I realize that Django evolved in a newsroom environment
where there is a small number of content publishers/admins and many
readers. But what about web apps where users normally enter, update,
and delete the bulk of t
If you're running Django behind Apache and mod_python, you should
define the PYTHONPATH (sys.path) in your Apache virtual host
configuration. See the documentation[1] for more information. Just
include the PythonPath directive inside the block.
When using the internal webserver (which doesn't se
You can get started here:
http://code.djangoproject.com/wiki/CookBookAdminTools
I've noticed that a foriegn key value in data posted to a view method
is still a string after a call to do_html2python. However, it's
returned as an int (what I would expect) from flatten_data().
Is this a bug or is this intended behavior?
It's causing a bug in my template code where I compare t
On Jan 23, 2006, at 11:53 AM, Andy Shaw wrote:
Quick query: is there an easy way to limit staff users so that they
can
only alter records that belong to them? Specifically, so that only
their
own records show up in the admin interface. All the relevant models
have
an owner field that point
Hi all,
Quick query: is there an easy way to limit staff users so that they can
only alter records that belong to them? Specifically, so that only their
own records show up in the admin interface. All the relevant models have
an owner field that points to the correct user (via an intermediary
mod
Cheng Zhang wrote:
Hi Cheng,
> Actually my previous statement isn't correct, I just realized that
> pymssql also claimed to work on Windows, except it will use M$'s
> native libraries instead of FreeTDS.
You worked this out quicker than I ever could have. Thanks.
how to set my sys.path to the place that i am putting in it the Django
projects as they are not in the sys path of Djnagoo
i mean how i could set this PythonPath
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
Office: +202 - 62
ok, i have to use
writeboard_list = project.get_writeboard_list(parent__isnull=True)
not sure if this is continous.
patrick
Am 23.01.2006 um 16:24 schrieb patrick kranzlmüller:
writeboard_list = project.get_writeboard_list(parent__id__isnull=True)
doesn´t give any results (although there a
could anyone help me how to make the text feild to be have more options
an to be good for the user
like having fonts and urls without having to write html
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
Office: +202 - 6236612 EXT.
writeboard_list = project.get_writeboard_list(parent__id__isnull=True)
doesn´t give any results (although there are some records with
parent_id NULL in the database)
the other way round,
writeboard_list = project.get_writeboard_list(parent__id__isnull=False)
works fine.
any suggestions?
patr
On 1/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I'm trying to use class 'collapse' in 'fields' option, like this:
> class META:
> ordering = ['title']
> admin = meta.Admin(
> list_display = ('title',),
> fields = (
> (Non
excellent - exactly what I was looking for. Thanks heaps, Andreas.
Luke Skibinski Holt
On 1/23/06, Luke Skibinski Holt <[EMAIL PROTECTED]> wrote:
>
> Is there a way within the interpreter of recovering from these sorts of
> errors:
>
> psycopg.ProgrammingError: ERROR: current transaction is aborted,
> commands ignored until end of transaction block
Execute these commands after the
On Monday 23 Jan 2006 5:50 pm, Luke Skibinski Holt wrote:
> psycopg.ProgrammingError: ERROR: current transaction is aborted,
> commands ignored until end of transaction block
programming error means something wrong in the sql query
--
regards
kg
http://www.livejournal.com/users/lawgon
tally h
Is there a way within the interpreter of recovering from these sorts of
errors:
psycopg.ProgrammingError: ERROR: current transaction is aborted,
commands ignored until end of transaction block
I get them when debugging queries and something goes awry wherein I
have to restart the interpreter an
On 1/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i really don't know how to use them instead of django server as i am
> already using Apache for the picture but how to make access to all the
> project without using Django server
Start from http://www.djangoproject.com/documentation/modpy
i really don't know how to use them instead of django server as i am
already using Apache for the picture but how to make access to all the
project without using Django server
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
Office:
Mary,
On 1/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> django-admin.py doesn't have a daemon mode to run in.
> how do i run it as a service?
> i need this cause i don't need when the server restart for any reason i
> had to start django server
django-admin.py/manage.py's webserver is on
django-admin.py doesn't have a daemon mode to run in.
how do i run it as a service?
i need this cause i don't need when the server restart for any reason i
had to start django server
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
O
A,
I think I figured it out, you're supposed to call the manipulator's
prepare() method explicitly which in turn calls the fields' prepare
methods. Will test this as soon as I get home...
foot
foot wrote:
> > django.core.formfields.FormField has a method 'prepare' which is
> > described as
24 matches
Mail list logo