Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Django-bootstrap is a Django "app", installed as a python package. Since webfaction doesn't do virtualenv, you should be ok* to just ssh in and run </p> <pre><code>pip install -e git+git://github.com/earle/django-bootstrap.git#egg=bootstrap </code></pre> <p>from wherever. This will install django-bootstrap to your global python site-packages folder.</p> <p>Next, you'll need to make sure django knows about it, which you do by editing the settings file and adding it to INSTALLED_APPS, e.g.</p> <pre><code>INSTALLED_APPS = ( # ... other things 'bootstrap', # ... maybe more things ) </code></pre> <p>Any python file that uses the BootstrapForm and Fieldset classes, will require the import statement at the top of it. A python module (file) will only know about a) what you declare directly in it, and b) what you explicitly import. I don't know how you got anywhere using python without knowing that, because it's pretty important. Consider reading up on the subject.*</p> <p>Anyhow, the only thing django-bootstrap seems to do is change django's form-rendering code to output HTML that is more compatible with Bootstrap. You will still need get twitter-bootstrap yourself, and make sure that you use the media, i.e. the css, js and images, from it. Put the bootstrap media in your static app.</p> <p><a href="http://twitter.github.com/bootstrap/">http://twitter.github.com/bootstrap/</a></p> <p>*Edit: I just read the last bit of your post and now I feel like a big meanie. So, here are some extra resources that I recommend you read through.</p> <p>Python samples: <a href="http://wiki.python.org/moin/SimplePrograms">http://wiki.python.org/moin/SimplePrograms</a></p> <p>Django's Tutorial: <a href="https://docs.djangoproject.com/en/1.3/intro/tutorial01/">https://docs.djangoproject.com/en/1.3/intro/tutorial01/</a></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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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