otherwise if domains equals a string django' and, file_ext equals '.py' or file_ext is contained in command.extensions,
elif domain == 'django' and ( file_ext == '.py' or file_ext in command . extensions ) :