Skip to content

Commit 1a6af54

Browse files
authored
Add comment
1 parent be20a46 commit 1a6af54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

django_spinproject/project/project_info.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __init__(self, project_name: str, main: str = DEFAULT_MAIN):
105105
super().__init__(project_name, main)
106106
self.serialization_settings = {}
107107

108+
# Basically, this pair of serialize/deserialize hides the legacy `docker.username` field
109+
# for new projects.
110+
108111
def serialize(self, **kwargs) -> dict:
109112
is_initial = kwargs.get('is_initial', False)
110113
serialized_data = super().serialize()

0 commit comments

Comments
 (0)