This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
JugarAlPadelOC
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
actualizar urlpatterns si no debug
main
creylopez
10 months ago
parent
7ba89428ea
commit
2c8bbd1eaa
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
gestion_reservas/gestion_reservas/urls.py
+ 1
- 1
gestion_reservas/gestion_reservas/urls.py
View File
@ -40,7 +40,7 @@ urlpatterns = [
]
if
settings
.
DEBUG
:
if
!
settings
.
DEBUG
:
urlpatterns
+
=
static
(
settings
.
STATIC_URL
,
document_root
=
settings
.
STATIC_ROOT
)
urlpatterns
+
=
static
(
settings
.
MEDIA_URL
,
document_root
=
settings
.
MEDIA_ROOT
)
Write
Preview
Loading…
Cancel
Save