Create another Master View (/mileage-entries/)

We’ll next create the master view for mileage entries, using same New Master View wizard as before.

If you get there from your App Table view, it will pre-select the appropriate model; otherwise you must manually select MileageEntry from the list.

But beyond that, for sake of this tutorial you can accept all other defaults and let it generate the code, then update the menu etc.

See Create the Master View (/vehicles/) if you need to revisit the details.

Note that we’re using /mileage-entries/ as the URL prefix for examples in this tutorial. But you could also use /mileage/entries/ if you prefer, or anything else for that matter. Keep in mind the template prefix should usually match the URL prefix, although again that’s not a strict requirement either.

We will definitely need to customize the view class for this one, but we’ll do that in next section. At this point you should just confirm the view is wired up and you can browse it.