Specific models without a database table
Hello,
Is it possible to create specific models without a database table?
Basically what I would like to do is create an email account management application that ties into my existing mail server and its API. I would like Django to have a Users model and keep track of users, a Domains model to keep track of the email domains for the user, but I don't want it to actually keep track of email addresses. Once the user is in the application, they will go into the "EmailAccount" model and I simply want the model to query my mail server via its SOAP API. So when they create/delete/edit email accounts, there will be form pages and simple validation done by Django, but the actual work will be done by connecting to the mail servers API and not a database.
Basically what I would like to do is create an email account management application that ties into my existing mail server and its API. I would like Django to have a Users model and keep track of users, a Domains model to keep track of the email domains for the user, but I don't want it to actually keep track of email addresses. Once the user is in the application, they will go into the "EmailAccount" model and I simply want the model to query my mail server via its SOAP API. So when they create/delete/edit email accounts, there will be form pages and simple validation done by Django, but the actual work will be done by connecting to the mail servers API and not a database.
Is this possible?
Thanks,
Kris
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home