Skip to content

Commit 6ca8027

Browse files
committed
fix(models): remove app_name from abstract models
When a subclass doesn't overrider Meta, it inherits the app_name from the abstract class what is not descired behavior as it lands migrations into social_django instead of the actuall app. Fixes #496
1 parent e417daf commit 6ca8027

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

social_django/models.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def __str__(self):
4242
return str(self.user)
4343

4444
class Meta:
45-
app_label = "social_django"
4645
abstract = True
4746

4847
@classmethod

0 commit comments

Comments
 (0)