-
-
Notifications
You must be signed in to change notification settings - Fork 31k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added file forgotten in previous commit, plus one more test.
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from __future__ import unicode_literals | ||
|
||
from django.apps import AppConfig | ||
|
||
|
||
class MyAdmin(AppConfig): | ||
name = 'django.contrib.admin' | ||
verbose_name = "Admin sweet admin." | ||
|
||
|
||
class MyAuth(AppConfig): | ||
name = 'django.contrib.auth' | ||
verbose_name = "All your password are belong to us." | ||
|
||
|
||
class BadConfig(AppConfig): | ||
"""This class doesn't supply the mandatory 'name' attribute.""" | ||
|
||
|
||
class NotAConfig(object): | ||
name = 'apps' | ||
|
||
|
||
class NoSuchApp(AppConfig): | ||
name = 'there is no such app' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters