File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.7 -slim-buster
1+ FROM python:3.11.10 -slim-bullseye
22
33ENV LC_ALL=C.UTF-8
44ENV LANG=C.UTF-8
Original file line number Diff line number Diff line change 99 specific language governing permissions and limitations under the License.
1010"""
1111
12- from django .conf . urls import url
12+ from django .urls import re_path
1313
1414from demo import views
1515
1616urlpatterns = [
17- url (r"^test/jwt/?" , views .jwt_info ),
18- url (r"^test/app/?" , views .jwt_app ),
19- url (r"^test/user/?" , views .jwt_user ),
17+ re_path (r"^test/jwt/?" , views .jwt_info ),
18+ re_path (r"^test/app/?" , views .jwt_app ),
19+ re_path (r"^test/user/?" , views .jwt_user ),
2020]
Original file line number Diff line number Diff line change @@ -39,8 +39,4 @@ class Migration(migrations.Migration):
3939 name = 'context' ,
4040 unique_together = set ([('scope' , 'key' )]),
4141 ),
42- migrations .AlterIndexTogether (
43- name = 'context' ,
44- index_together = set ([('scope' , 'key' )]),
45- ),
4642 ]
Original file line number Diff line number Diff line change @@ -22,5 +22,4 @@ class Context(models.Model):
2222
2323 class Meta :
2424 unique_together = ("scope" , "key" )
25- index_together = ("scope" , "key" )
2625 db_table = "apigw_manager_context"
You can’t perform that action at this time.
0 commit comments