python – Error in deploy with NameError: name & # 39; static & # 39; It is not defined

When uploading the files to the server in pythonanywere I get the following error line

    File "/home/factura/wp/wp/wp/urls.py", line 36, in 
    urlpatterns + = static (settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)
NameError: the name & # 39; static & # 39; It is not defined

urls.py

                from django.contrib import admin
of the import path django.urls
of the import configuration of django.conf

urlpatterns = [

        path('admin/', admin.site.urls)...
    ]

   yes settings.DEBUG:
From django.conf.urls.static import static
** urlpatterns + = static (settings.MEDIA_URL, document_root = settings.MEDIA_ROOT) **

Directory structure

├── Project
├── ├── migrations
│ │ └── __pycache__
│ ├── __pycache__
│ ├── static
│ │ └── project
│ │ ├── css
│ │ ├── img
│ │ ├── js
Supplier of │ └──
St │ ├── bootstrap
│ │ │ ├── css
│ │ │ └── js
├── │ ├── awesome source
│ │ │ ├── css
│ │ │ ├── sources
│ │ │ ├── less
│ │ │ └── scss
What └── └── jquery
└── └── templates
Root of └──
├── means
│ └── projects
├── billing
├── ├── migrations
│ │ └── __pycache__
│ ├── __pycache__
└── └── templates
└── └── invoice
└── wp
└── __pycache__

settings.py

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/

STATIC_URL = & # 39; / static / & # 39;

# Multimedia files
MEDIA_URL = & # 39; / media / & # 39;
MEDIA_ROOT = os.path.join (BASE_DIR, "average")