File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
from simple_menu .menu import *
4
4
5
5
warnings .warn (
6
- "Importing from 'menu' will be removed in django-simple-menu v2.3 and/or "
7
- "v3.0. Use imports from 'simple_menu' package instead." ,
6
+ "Importing from 'menu' is deprecated. Import from 'simple_menu' instead. "
7
+ "The old import will be removed in django-simple-menu v3, but no earlier "
8
+ "than on 2024-04-01." ,
8
9
DeprecationWarning ,
9
10
stacklevel = 2
10
11
)
Original file line number Diff line number Diff line change 3
3
from simple_menu .templatetags .simple_menu import *
4
4
5
5
warnings .warn (
6
- "The 'menu' template library will be removed in django-simple-menu v2.3 "
7
- "and/or v3.0. Use '{% load simple_menu %}' instead." ,
6
+ "Loading from 'menu' is deprecated. Use '{% load simple_menu %}' instead. "
7
+ "The old template library will be removed in django-simple-menu v3, but "
8
+ "no earlier than on 2024-04-01." ,
8
9
DeprecationWarning ,
9
10
stacklevel = 2
10
11
)
You can’t perform that action at this time.
0 commit comments