cleanup
- SHA
04546534829c51ac1e60bf81c0a40ab26a91f542- Parents
-
ce94102 - Tree
6c83dd5
0454653
04546534829c51ac1e60bf81c0a40ab26a91f542ce94102
6c83dd5| Status | File | + | - |
|---|---|---|---|
| M |
backend/apps/trees/models.py
|
3 | 3 |
| M |
backend/apps/trees/views.py
|
1 | 1 |
backend/apps/trees/models.pymodified@@ -117,7 +117,7 @@ class FileSystemTree(models.Model): | ||
| 117 | 117 | |
| 118 | 118 | # Create user directories |
| 119 | 119 | home = DirectoryNode.objects.get(tree=self, path="/home") |
| 120 | - for username in ["alice", "bob", "charlie"]: | |
| 120 | + for username in ["sarah", "bob", "charlie"]: | |
| 121 | 121 | user_home = DirectoryNode.objects.create( |
| 122 | 122 | tree=self, |
| 123 | 123 | name=username, |
@@ -153,7 +153,7 @@ class FileSystemTree(models.Model): | ||
| 153 | 153 | |
| 154 | 154 | # Add procedural dirs to certain locations |
| 155 | 155 | base_paths = [ |
| 156 | - "/home/alice", "/home/bob", "/home/charlie", | |
| 156 | + "/home/sarah", "/home/bob", "/home/charlie", | |
| 157 | 157 | "/opt", "/var", "/usr/local" |
| 158 | 158 | ] |
| 159 | 159 | |
@@ -201,7 +201,7 @@ class FileSystemTree(models.Model): | ||
| 201 | 201 | tree=self, |
| 202 | 202 | is_fhs_standard=False |
| 203 | 203 | ).exclude(path__in=[ |
| 204 | - "/home", "/home/alice", "/home/bob", "/home/charlie" | |
| 204 | + "/home", "/home/sarah", "/home/bob", "/home/charlie" | |
| 205 | 205 | ]) |
| 206 | 206 | |
| 207 | 207 | if candidates.exists(): |
backend/apps/trees/views.pymodified@@ -25,7 +25,7 @@ class FileSystemTreeViewSet(viewsets.ModelViewSet): | ||
| 25 | 25 | { |
| 26 | 26 | "command": "cd <directory>", |
| 27 | 27 | "description": "Change to specified directory", |
| 28 | - "examples": ["cd projects", "cd /home/alice", "cd .."] | |
| 28 | + "examples": ["cd projects", "cd /home/sarah", "cd .."] | |
| 29 | 29 | }, |
| 30 | 30 | { |
| 31 | 31 | "command": "cd", |