Note about urls in upgrade docs

This commit is contained in:
Griatch 2022-08-11 09:09:49 +02:00
parent e854432cc9
commit 1946e9e029

View file

@ -30,8 +30,11 @@ game dir, continue below.
anything you want to keep), you can _delete_ it entirely. anything you want to keep), you can _delete_ it entirely.
- Copy `evennia/evennia/game_template/web` to `mygame/` (e.g. using `cp -Rf` or a file manager). This new `web` folder - Copy `evennia/evennia/game_template/web` to `mygame/` (e.g. using `cp -Rf` or a file manager). This new `web` folder
replaces the old one and has a very different structure. replaces the old one and has a very different structure.
- `evennia migrate` - It's possible you need to replace/comment out import and calls to the deprecated
- `evennia start` [`django.conf.urls`](https://docs.djangoproject.com/en/3.2/ref/urls/#url). The new way to call it is
[available here](https://docs.djangoproject.com/en/4.0/ref/urls/#django.urls.re_path).
- Run `evennia migrate`
- Run `evennia start`
If you made extensive work in your game dir, you may well find that you need to do some (hopefully minor) If you made extensive work in your game dir, you may well find that you need to do some (hopefully minor)
changes to your code before it will start with Evennia 1.0. Some important points: changes to your code before it will start with Evennia 1.0. Some important points: