Add New Category

To add a new category, open the tools/fixtures/category.json file and insert the new category data in the following format at the end of the file:

category.json
{
  "model": "tools.category",
  "pk": null,
  "fields": {
    "name": "New Category",
    "slug": "new-category"
  }
}

Then, visit the URL to insert new category to database:

http://localhost:8001/setup

Done. Visit the following URL and check:

http://localhost:8001/tools