zeroed-some/bashamole / 0454653

Browse files

cleanup

Authored by espadonne
SHA
04546534829c51ac1e60bf81c0a40ab26a91f542
Parents
ce94102
Tree
6c83dd5

2 changed files

StatusFile+-
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):
117117
         
118118
         # Create user directories
119119
         home = DirectoryNode.objects.get(tree=self, path="/home")
120
-        for username in ["alice", "bob", "charlie"]:
120
+        for username in ["sarah", "bob", "charlie"]:
121121
             user_home = DirectoryNode.objects.create(
122122
                 tree=self,
123123
                 name=username,
@@ -153,7 +153,7 @@ class FileSystemTree(models.Model):
153153
         
154154
         # Add procedural dirs to certain locations
155155
         base_paths = [
156
-            "/home/alice", "/home/bob", "/home/charlie",
156
+            "/home/sarah", "/home/bob", "/home/charlie",
157157
             "/opt", "/var", "/usr/local"
158158
         ]
159159
         
@@ -201,7 +201,7 @@ class FileSystemTree(models.Model):
201201
             tree=self,
202202
             is_fhs_standard=False
203203
         ).exclude(path__in=[
204
-            "/home", "/home/alice", "/home/bob", "/home/charlie"
204
+            "/home", "/home/sarah", "/home/bob", "/home/charlie"
205205
         ])
206206
         
207207
         if candidates.exists():
backend/apps/trees/views.pymodified
@@ -25,7 +25,7 @@ class FileSystemTreeViewSet(viewsets.ModelViewSet):
2525
                 {
2626
                     "command": "cd <directory>",
2727
                     "description": "Change to specified directory",
28
-                    "examples": ["cd projects", "cd /home/alice", "cd .."]
28
+                    "examples": ["cd projects", "cd /home/sarah", "cd .."]
2929
                 },
3030
                 {
3131
                     "command": "cd",