Pteranodonts are actually
pterodactyloids, not
basal pterosaurs like Dimorphodon (sometimes called "Rhamphorynchoids"). I find Aerodactyl being based off of one unlikely at best, as
Dimorphodon had an oversized, rounded skull shape and small body, unlike Aerodactyl's large draconian one.
That being said, Aerodactyl actually seems to be based on all of the common
inaccuracies displayed in pterosaurs (draconian tails, bat wings, double crests, missing elongated medicarpals, grasping feet, reptilian heads, etc) which makes it look more draconian in origin than pterosaurian.