Bring a large pot of water to a boil and salt it generously.
Peel and finely chop the onion and garlic. Chop the chili. Remove the seeds if you want a milder version. Heat the olive oil in a large frying pan over medium heat and sauté the onion, garlic and chili for about 3–4 minutes, until the onion is soft. Don't let the garlic brown.
Pour the crushed tomatoes into the pan. Season with oregano, black pepper, sugar and lemon juice. Simmer gently, stirring now and then, for about 10 minutes, until the sauce thickens.
Add the pasta to the boiling water while the sauce simmers and cook until al dente according to the package. Grate the Parmesan in the meantime.
Drain the pasta. Stir half of the grated Parmesan into the sauce, pour the sauce into the pasta pot and mix well.
Divide among plates and finish with the rest of the Parmesan.
Notes
Save a cup of the pasta water before you drain it. The starchy water makes the sauce smoother and helps it cling to the pasta.
Chilies vary a lot in heat. Taste the sauce and add chili flakes at the end if needed.
Wash your hands after handling chili, and don't rub your eyes.
For a vegan version, leave out the Parmesan.
The traditional Roman version is made without onion and lemon. Try both and see which one you like better.