Denis, your suggestion fixed a similar problem bugging me hours.
I tried to migrate some (1,000s rows) tables from mysql to postgresql
with the build-in model functions, which is absolutely no problem.
While when I tried to add new data with manipulator.save(), it always
raise "integrity error" o
Thanks for your suggestion. I was thinking about generate XML in views
directly.
But the XML file I want is just simple one like HTML(they are also
small) and it's all about presentation, thus it doesn't make sense to
put them into views.
Any other way to do it?
--~--~-~--~~---
Russ, thanks for your suggestion.
Because all I want is a pure XML output, so for this case, I want all
variable encoded at one time, for non-variable string I can deal with
it manually.
After some experiment on attaching encoding function TextNode and
VarialbeNode (actually it's the first time
"Fredrik Lundh 写道:
"
> (...and is especially useful of you're creating the context variables
> on the fly, using searches/transforms on an initial model loaded by the
> view, for example).
>
>
Really?! can you show me some pointer or example on how to do it? I
hate to prepare all presentationa
My understanding about ChangeManipulator is it should be only used for
one model and it's ok with another model with edit-inline.
If you'd like to manipulate two model at the same time without
edit-inline, you can either subclass the Manipulator instead of
ChangeManipulator or use two ChangeManip
My understanding about ChangeManipulator is it should be only used for
one model and it's ok with another model with edit-inline.
If you'd like to manipulate two model at the same time without
edit-inline, you can either subclass the Manipulator instead of
ChangeManipulator or use two ChangeManip
My understanding about ChangeManipulator is it should be only used for
one model and it's ok with another model with edit-inline.
If you'd like to manipulate two model at the same time without
edit-inline, you can either subclass the Manipulator instead of
ChangeManipulator or use two ChangeManip
My understanding about ChangeManipulator is it should be only used for
one model and it's ok with another model with edit-inline.
If you'd like to manipulate two model at the same time without
edit-inline, you can either subclass the Manipulator instead of
ChangeManipulator or use two ChangeManip
Sorry, I was reply your post in browser and google kept telling me
there was an error for my post action. I tried several time, so...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
9 matches
Mail list logo