Note that there are some explanatory texts on larger screens.

plurals
  1. POtrying to integrate some apps to my project
    primarykey
    data
    text
    <p>After finishing the core functionalities of my project it's time to begin with other secundary but important things.</p> <p>I've something like the following <strong>models.py</strong> file:</p> <pre><code>class Category(models.Model): name = models.CharField(max_length=30) class Transaction(models.Model): name = models.CharField(max_length=30) description = models.TextField(blank=True) amount = models.DecimalField(max_digits=12, decimal_places=2) category = models.ForeignKey(Category, related_name='transacciones', blank=True, null=True) </code></pre> <p>The following is the list of things I'd like to implement:</p> <ul> <li><p>Users registration: create a subdomain for every different user(user.domain.com).</p></li> <li><p>Accounts: Each user can create different accounts.Example: the user A have a home account with categories car and house, and a work account with categories salary and bonuses.</p></li> <li><p>Different users can access the same subdomain with different permissions(not my priority right now).</p></li> </ul> <p>I read about different django apps to make this work but I'm very confused about how to integrate them to work fine together. I don't know where to start.</p> <p>Django-registration: <a href="http://bitbucket.org/ubernostrum/django-registration" rel="nofollow">http://bitbucket.org/ubernostrum/django-registration</a></p> <p>Django-subdomain: <a href="http://github.com/tkaemming/django-subdomains" rel="nofollow">http://github.com/tkaemming/django-subdomains</a> or <a href="http://github.com/agiliq/django-subdomain" rel="nofollow">http://github.com/agiliq/django-subdomain</a>. </p> <p>Django-accounts: <a href="http://code.google.com/p/django-accounts/" rel="nofollow">http://code.google.com/p/django-accounts/</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload