I have a running Django application
running on webfaction server
. I want to integrate my django project with a cloud storage system. How can I Integrate that ?
Here is the detail about my app:
It is an erp software
in django. It has a app named Projects
. In that app, it has a model
name Project
.
class Project(BaseModel):
event = models.ForeignKey("events.Event")
client = models.ForeignKey("clients.Client")
project_supervisor = models.ForeignKey("staffs.Staff", blank=True, null=True)
name = models.CharField(max_length=128)
project_number = models.CharField(max_length=128, unique=True)
currency = models.ForeignKey("projects.Currency")
hall_number = models.CharField(max_length=128)
stand_number = models.CharField(max_length=128)
start_date = models.DateField()
end_date = models.DateField()
notes = models.TextField(blank=True, null=True)
terms_and_conditions = models.TextField(blank=True, null=True)
is_design_required = models.BooleanField(choices=BOOL_CHOICES, default=False)
status = models.CharField(max_length=128, choices=PROJECT_STATUS, default="pending")
admin_confirmed = models.BooleanField(default=False)
is_quote_send = models.BooleanField(default=False)
is_estimate_send = models.BooleanField(default=False)
is_deleted = models.BooleanField(default=False)
I want add an extra field to this model to store the project details.And I want to upload these pictures in the cloud, say dropbox or google , and want to upload it through django.That means I want to store that document field only in a cloud database? Is that possible in DJANGO?