Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, you can extend the behaviour of the built-in applications. If you are using the pinax basic setup with user accounts and profiles, you will have to add the extra fields you want in apps/profiles/models.py. For a list of field types, see here: <a href="https://docs.djangoproject.com/en/1.3/ref/models/fields/" rel="nofollow">https://docs.djangoproject.com/en/1.3/ref/models/fields/</a> </p> <p>This will create the necessary db fields for you when you run <code>manage.py syncdb</code>. If you have already sync'd the db, however, you will have to manually add the db columns. If you don't have any data you care about in that table, you can always just drop the table and it will recreate it. Django doesn't modify db tables once they are created, even if you change the model.</p> <p>You will also have to modify the signup form to include these new fields and point your urls.py to the new signup form you created. Copy the form from the site-packages/pinax directory to your project. Don't modify them directly.</p> <p>If you haven't already, you should check out the Django tutorial here: <a href="https://docs.djangoproject.com/en/1.3/intro/tutorial01/" rel="nofollow">https://docs.djangoproject.com/en/1.3/intro/tutorial01/</a> </p> <p>This will give you a good idea of how Django apps are put together and how the different pieces interact, so you can do a better job customizing Pinax to your liking. Make sure you know what <code>models.py</code>, <code>urls.py</code>, <code>views.py</code>, and the templates are doing.</p>
    singulars
    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.
    1. VO
      singulars
      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