Skip to content

Commit

Permalink
#52 Remove old scripts and commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ilesoft authored Oct 31, 2024
2 parents a29094e + a75485d commit d8bd9a6
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 637 deletions.
4 changes: 2 additions & 2 deletions docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,10 +966,10 @@ Näin tietokantaa voi olla vaikea enään muokata päivityksen jälkeen.
On suositeltavaa varmuuskopioida ja nollata tietokanta aina ennen päivittämistä.

```
python manage.py reset tupa
python manage.py flush
```

Nollaa tietokannan. Poistaa kaikki tietokantataulut.
Tyhjentää kaikki tietokantataulut.

### Järjestelmän Asetukset - settings.py

Expand Down
7 changes: 0 additions & 7 deletions web/legacy/RenameFixture.py

This file was deleted.

Empty file removed web/legacy/__init__.py
Empty file.
170 changes: 0 additions & 170 deletions web/legacy/models.py

This file was deleted.

3 changes: 0 additions & 3 deletions web/legacySettings.py

This file was deleted.

7 changes: 1 addition & 6 deletions web/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

try:
import settings #
import legacySettings # Legacy settings for exporting an legacy db
except ImportError:
import sys

Expand All @@ -18,8 +17,4 @@
sys.exit(1)

if __name__ == "__main__":
set = settings
if len(sys.argv):
if sys.argv[1] == "dumpdata":
set = legacySettings
execute_manager(set)
execute_manager(settings)
Loading

0 comments on commit d8bd9a6

Please sign in to comment.