Providing an IP address of the App Engine is indeed not the way to go. You can only provide IP addresses of current instances of your engine which can be killed and replaced by different instances with new addresses at any time.
Try to follow the tutorial on setting up the App Engine closely from the beginning. I attach a link to a resource about Django as it was applicable in my case https://cloud.google.com/python/django/flexible-environment
In order to connect your App Engine to a Cloud SQL instance within one project, you only have to adjust configuration files in your application. In case of Django, your settings.py and app.yaml file have to be correctly configured. Make sure the database host in settings.py is in the following format, ['HOST'] = '/cloudsql/{your-cloudsql-connection-string}' and that app.yaml includes
"beta_settings: cloud_sql_instances: {your-cloudsql-connection-string}".
You can refer to the sample code here. Note that Google Cloud platform Git also contains samples for other environments.