You can try to put a comma in this place STATICFILES_DIRS = (BASE_DIR / 'static',) if there is no comma at the end, then this error pops up