How do I interact with OSQA from the Python shell?

asked 04 Jun '10, 16:36

Joseph's gravatar image

Joseph
1.6k387172
accept rate: 36%


Here is an example:

% manage.py shell

> from forum.models import *
> joseph = User.objects.get(id=1)
> print joseph.get_profile_url()
link

answered 04 Jun '10, 16:37

Joseph's gravatar image

Joseph
1.6k387172
accept rate: 36%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×25
×2
×1

Asked: 04 Jun '10, 16:36

Seen: 297 times

Last updated: 04 Jun '10, 16:37

powered by OSQA