| 5 | | == Do a search first - where and how to search == |
| | 5 | |
| | 6 | == Do your homework!! == |
| | 7 | * Most of the time, Google holds the answer to your question. |
| | 8 | * Don't expect a 'one-shot / copy-and-paste' answer, there may be some work involved. |
| | 9 | * Don't give up on the first page, it's not unusual to go as far as 400-600 results (depending on how relevant each hit is) |
| | 10 | * Make full use of exception tracebacks, and don't be afraid to dive deep into the Django core code (this is a great way to learn + find hints about what caused your problem) |
| | 11 | * Look through the django-users mailing list archive ( https://groups.google.com/group/django-users/topics?hl=en ) |
| | 12 | |
| | 13 | == Be imaginative with your Google keywords == |
| | 14 | If you are looking for information relating to say "Sphinx", just typing that in alone usually won't help. |
| | 15 | |
| | 16 | Here are some common search alternatives you could try; |
| | 17 | |
| | 18 | * Looking for a method/class called 'ReportBug' |
| | 19 | {{{ |
| | 20 | ReportBug python |
| | 21 | "def ReportBug" |
| | 22 | "class ReportBug" |
| | 23 | }}} |
| | 24 | |
| | 25 | * Looking for items relating to Django models |
| | 26 | {{{ |
| | 27 | "Django (model|models)" |
| | 28 | "from django" "import models" |
| | 29 | "howto" django models |
| | 30 | "problem with" django models |
| | 31 | }}} |
| | 32 | |
| | 33 | * Look for other peoples mailing list entries about MySQLdb |
| | 34 | {{{ |
| | 35 | "django-users" "(problem|exception)" "MySQLdb" |
| | 36 | }}} |
| | 37 | |
| | 38 | * Be smart when it comes to looking for information about exceptions: |
| | 39 | {{{ |
| | 40 | For example: |
| | 41 | |
| | 42 | OperationalError: (2002, "Can't connect to local MySQL server through |
| | 43 | socket '/var/run/mysqld/mysqld.sock' (2)") |
| | 44 | }}} |
| | 45 | {{{ |
| | 46 | Would become: |
| | 47 | |
| | 48 | django "OperationalError" "2002" |
| | 49 | "connect to local MySQL server through" |
| | 50 | "OperationalError" "connect to local MySQL server through" |
| | 51 | django "problem" "2002" "database" |
| | 52 | |
| | 53 | }}} |
| | 54 | |