How do I interact with OSQA from the Python shell?
asked 04 Jun '10, 16:36
Joseph 1.6k●38●71●72 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()
answered 04 Jun '10, 16:37
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Tags:
python ×25 shell ×2 python-shell ×1
Asked: 04 Jun '10, 16:36
Seen: 297 times
Last updated: 04 Jun '10, 16:37
The OSQA website and OSQA wiki are great resources to help you learn more about the OSQA open source Q&A system. Join the OSQA chat!
How to solve module not found error on centOS?
What makes OSQA performance deteriorate as the number of questions grows?
What are the required (and optional) Python modules when installing OSQA?
How do settings like APP_TITLE get their values loaded?
[closed] Installing OSQA in windows
ImportError: No module named django.core.management while installing on WebFaction
Does OSQA work with Python 2.7?
Can I run PHP apps and OSQA on one ISPConfig?
Why does OSQA use markdown and not markdown2?
Does OSQA support python 3?
powered by OSQA