Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4803
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "Sven R. Kunze" <srkunze@mail.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Django fixtures und migrations... |
| Date | Fri, 16 Jun 2017 17:16:40 +0200 |
| Lines | 30 |
| Message-ID | <mailman.133.1497626766.10125.python-de@python.org> (permalink) |
| References | <860f4062-2179-150a-6571-94b661c750ce@jensdiemer.de> <96f3b87c-cdad-d7fe-f38c-dd88d21ec095@mail.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de 1iD7QAgbvBtfLXQO2EEFTQ2/I39lja9l5sSqgJ/VNetQ== |
| Return-Path | <srkunze@mail.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde201610; t=1497626201; bh=3VWysEEQqKdE2V9CE9khBq/U5zprDAs5M3bew+igBbo=; h=Subject:To:References:From:Date:In-Reply-To:From; b=Kr9psz/qR4OOFQCGoXjrMI+899oOwaJOQPi+KoElGJkLFl6sr1ln0nEDQpsPHvbF9 M1tvXmQ+AXkso9jFnMI9uT9B82AkPLH+2oGSM7jLZa6rjtCuqoxQqHkoPr5H9Bao0f 2CkcZ0hfX+zIpQfAfgYIIJbcDIZhAYQIXoMS9xMQ= |
| In-Reply-To | <860f4062-2179-150a-6571-94b661c750ce@jensdiemer.de> |
| Content-Language | en-US |
| X-purgate | clean |
| X-purgate | This mail is considered clean (visit http://www.eleven.de for further information) |
| X-purgate-type | clean |
| X-purgate-Ad | Categorized by eleven eXpurgate (R) http://www.eleven.de |
| X-purgate | This mail is considered clean (visit http://www.eleven.de for further information) |
| X-purgate | clean |
| X-purgate-size | 907 |
| X-purgate-ID | 154282::1497626200-00004FF0-9000DDDF/0/0 |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.24 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <96f3b87c-cdad-d7fe-f38c-dd88d21ec095@mail.de> |
| X-Mailman-Original-References | <860f4062-2179-150a-6571-94b661c750ce@jensdiemer.de> |
| Xref | csiph.com de.comp.lang.python:4803 |
Show key headers only | View raw
Hi Jens, ist mir nichts bekannt, aber prinzipiell fände ich es auch super, wenn man Fixtures mit Migrationen durchmigrieren könnte. Das kann eine Menge Arbeit sparen. Vielleicht müsste man da ein Feature-Request bei Django eröffnen. vG Sven On 26.05.2017 10:12, Jens wrote: > > Seine Modells mit Test Daten füllen kann man u.a. programatisch oder > per fixtures machen... > > Bei fixtures hat man evtl. das Problem, das Model Änderungen dazu > führen, das diese nicht mehr eingespielt werden können... > > Natürlich kann man darauf achten, das man die fixtures Daten vor einer > Änderung einspielt, die Datenbank per Migration aktualisiert und dann > wieder ein dumpdata macht. > > Ich frage mich allerdings gerade, ob es kein Projekt gibt, was genau > das automatisch macht?!? > > Habe danach gesucht, aber noch nichts gefunden... Kennt jemand sowas? >
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Django fixtures und migrations... "Sven R. Kunze" <srkunze@mail.de> - 2017-06-16 17:16 +0200
csiph-web