From Wikipedia, the equation for the 1D DFT is
From a separate source, the equation for the 2D DFT is
Notice how the 2D DFT definition features a scaling term while the first definition does not. Is this just an artifact of where the scaling takes place between the DFT and inverse DFT? Does it matter which transform contains this scaling term?