Saving a Profile
Saving a Profile
When you save()
your Profile
, the current or specified name
will be used to create or update a save file in the location specified by local
From the Docs…
- Profile.save(name=None, alert=True)[source]View on GitHub
Pickles and saves the
Profile
using the specified or currently set name.
- InstaTweet.profile.Profile.local =True
Indicates if saves should be made locally (
True
) or on a remote database (False
)- Return type
Important!!
You MUST configure the DATABASE_URL
environment variable to save/load remotely
InstaTweet uses SQLAlchemy
to create a DBConnection
Any
SQLAlchemy
-supported database is therefore also supported byInstaTweet
See the
db
module for more information