Russell Keith-Magee schrieb:
> Help me help you. In order to solve your problem, I need to know
> everything you are doing - not just bits of the problem.

Yes you are right, sorry ;)

Here some information: I'm rewrite PyLucid CMS: http://www.pylucid.org
The emphasis is thereby: Using PyLucid in a shared Webhosting 
environment. So I implement a complete Web-Based installation.

I write a "init DB data" routine:
http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/install/install.py?rev=925#L82
It used a fixture file, witch i have made with this:
http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/install/low_level_admin.py?rev=925#L48

The source fixture file is a dump from a MySQL DB.

The current fixture file, can you see here:
http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/fixtures/initial_data.xml?rev=925&format=raw


I have some open questions: How am I to store the data?
I tried:
        - file(fixture_filename, "w")
        - file(fixture_filename, "wb")
        - codecs.open(fixture_filename, "w", "utf-8")
(reading accordingly)

All the same which I used, I get unicode errors.


-- 
Mfg.

Jens Diemer


----
CMS in pure Python CGI: http://www.pylucid.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to