Re: Stucked in Tutorial 3

2010-08-22 Thread Timothy Makobu
Also, if you haven't already, read all of this http://docs.python.org/tutorial/index.html first before diving into Django. A firm grip on Python is needed to learn Django and write good applications. On Sun, Aug 22, 2010 at 8:53 PM, Nick wrote: > the problem is on the return HttpResponse (t.rend

Re: How to troubleshoot path and permission problems?

2010-08-24 Thread Timothy Makobu
This thread might help http://forum.webfaction.com/viewtopic.php?id=3171 On Tue, Aug 24, 2010 at 8:35 PM, vishy wrote: > I gave the permissions.But,still get this error > OSError Exception Value:[Errno 13] Permission denied: django > > On Aug 23, 11:02 pm, Antoni Aloy wrote: > > 2010/8/23

Re: Django persistent database(postgres) connection.

2010-08-27 Thread Timothy Makobu
Hi, just a suggestion; try a different web-server system, like (uWSGI, gunicorn)+nginx, then if you haven't already, do everything on this wiki http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server see if that helps. On Fri, Aug 27, 2010 at 8:17 PM, jai_python wrote: > Hi friends, >

Re: mod_wsgi setup issue

2010-08-28 Thread Timothy Makobu
here is my config: *** [m...@web101 www]$ cat myproject.wsgi import os import sys sys.path = ['/home/mako/webapps/www'] + sys.path from django.core.handlers.wsgi import WSGIHandler os.environ['DJANGO_SETTINGS_MODULE'] = 'timssite.settings' application = WSGIHandler() *** that's right outside th

django-db-log import Exception

2012-01-30 Thread Timothy Makobu
Hi all, I'm on Django 1.3 I just now installed django-db-log via pip, but after adding it to installed_apps, I get this Exception: Traceback (most recent call last): File "/bundles/port-8233/app_image/epio_wsgi.py", line 32, in __call__ output = wsgi_entrypoint(environ, self.start_response

Re: django-db-log import Exception

2012-01-30 Thread Timothy Makobu
It's trying to import it from django.contrib.admin.views.main On Mon, Jan 30, 2012 at 4:29 PM, Babatunde Akinyanmi wrote: > Seems like the app depends on paginator. Why not install the paginator app? > > > On 1/30/12, Timothy Makobu wrote: > > Hi all, > > > &g

Re: django-db-log import Exception

2012-01-30 Thread Timothy Makobu
This is how Paginator is imported https://docs.djangoproject.com/en/dev/topics/pagination/ from django.core.paginator import Paginator (this is part of django.core on my 1.3, so doesn't need installing) This is how djangodblog is trying to import it: from django.contrib.admin.views.main import

Re: django-db-log import Exception

2012-01-30 Thread Timothy Makobu
if Paginator should be in the source. > > To me it looks like the app was shipped broken. Maybe if you go > through the source, you might find that removing Paginator would mend > things. > > On 1/30/12, Timothy Makobu wrote: >> This is how Paginator is imported >> h

Re: django-db-log import Exception

2012-01-30 Thread Timothy Makobu
> > On 1/30/12, Timothy Makobu wrote: >> right. >> >> Hi guys. If someone could kindly alert the dev? I emailed him already >> but no response yet. Pip needs to pick up the fixed  dangodblog as a >> dep where the app is hosted. It's all automated. >&g

G+ API library

2012-02-16 Thread Timothy Makobu
Hi all, Is there a completely bare bones script out there for G+? Something that takes the client_id and client_secret and returns a handle to G+; something like python-twitter? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Django Admin base.html error

2012-02-24 Thread Timothy Makobu
I think I just stumbled onto a Django Admin base.html bug. Here is the stack-trace: http://dpaste.org/fYuEw/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from

Re: Django Admin base.html error

2012-02-25 Thread Timothy Makobu
arily comment out unused urls. > > On Feb 24, 3:29 am, Timothy Makobu > wrote: >> I think I just stumbled onto a Django Admin base.html bug. Here is >> the stack-trace: >> >> http://dpaste.org/fYuEw/ > > -- > You received this message because you are s

Re: ecommerce like openCart in php

2012-04-11 Thread Timothy Makobu
Have a look around here http://djangopackages.com/grids/g/ecommerce/ On Thu, Apr 12, 2012 at 3:46 AM, Alec Taylor wrote: > [Maybe] Mezzanine? > > On Thu, Apr 12, 2012 at 10:35 AM, m1chael wrote: > > i think you're barking up the wrong tree miss Hisham > > > > On Wed, Apr 11, 2012 at 6:34 PM, R

Django Book

2012-04-12 Thread Timothy Makobu
The Django book is the best source of understanding Django I have found http://www.djangobook.com/en/2.0/ However, it's three years old now. Is the info on it still valid? Is there a plan to update it? regards, Tim -- You received this message because you are subscribed to the Google Groups "

Re: Django Book

2012-04-12 Thread Timothy Makobu
Yes it is. But the book has its place. Or is leaving the book outdated an indirect way of telling us to use only the docs? On Thu, Apr 12, 2012 at 11:09 AM, Torsten Bronger < bron...@physik.rwth-aachen.de> wrote: > Hallöchen! > > Timothy Makobu writes: > > > The Django

Re: Django Book

2012-04-12 Thread Timothy Makobu
e you a very solid > footing. > > Best, > > SB > > > On Thu, Apr 12, 2012 at 1:09 AM, Torsten Bronger < > bron...@physik.rwth-aachen.de> wrote: > >> Hallöchen! >> >> Timothy Makobu writes: >> >> > The Django book is the best source

Re: Django Book

2012-04-12 Thread Timothy Makobu
angoproject.com/wiki/Tutorials > > > > > 2012/4/12 Torsten Bronger > >> Hallöchen! >> >> Timothy Makobu writes: >> >> > The Django book is the best source of understanding Django I have >> > found http://www.djangobook.com/en/2.0/ >> &

Re: Django Book

2012-04-12 Thread Timothy Makobu
On Thu, Apr 12, 2012 at 3:45 PM, Mario Gudelj wrote: > I followed the book in 1.3 and everything worked. It's the best piece of > documentation I've come across. Such great narrative, not too detailed but > detailed enough. > > > Yea. I still read chapters randomly as the author can obviously teac

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Timothy Makobu
Did you run a syncdb, then added mainloc after? Also, using southmakes things much easier. On Fri, Apr 13, 2012 at 8:19 PM, alex3627 wrote: > Hi all, > > I am new to django and just learning, but for the current error I have > absolutely no idea about the cause. I hav

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Timothy Makobu
Right. The question is whether you added the field "after" running syncdb for the first time. On Fri, Apr 13, 2012 at 8:58 PM, alex3627 wrote: > > > On Friday, April 13, 2012 12:45:22 PM UTC-5, Timothy Makobu wrote: >> >> Did you run a syncdb, then added mainloc af

Re: Is there such a open source django project?

2012-04-17 Thread Timothy Makobu
Or just use a ticketing system like Mantis On Tue, Apr 17, 2012 at 3:29 PM, Marcos Moyano wrote: > If there is, this is a good place to look for it: > http://djangopackages.com/ > > Marcos > > > On Tue, Apr 17, 2012 at 7:12 AM, James Deng wrote: > >> Hi all, >> >> I h

Re: cannot import name current_datetime

2012-04-19 Thread Timothy Makobu
The example works as the book describes http://www.djangobook.com/en/1.0/chapter03/ When, in views.py I insert the "datetime.datetime.now()" statement and > "import current_datetime" into my urls.py file, I get the following error > message when I try to call up the webpage via runserver. It see

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Timothy Makobu
If you can spare a few bux, get PyCharm. It's the best. On Mon, Apr 23, 2012 at 2:51 PM, Joel Goldstick wrote: > On Sun, Apr 22, 2012 at 12:59 PM, Aaron C. de Bruyn > wrote: > > This has been asked eleventy bajillion times, but I don't see a wiki > > page on it? :) > > > > I'd be happy to dig t

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Timothy Makobu
I have one of those actually, but that's coz I have a project that's been around a while. They actually checked out the googlecode page. On Mon, Apr 23, 2012 at 3:00 PM, kenneth gonsalves wrote: > On Mon, 2012-04-23 at 14:54 +0300, Timothy Makobu wrote: > > If you can s

Re: Error: 'module' object is not callable

2012-04-27 Thread Timothy Makobu
How are you importing datetime? In python 2.7, import datetime datetime.datetime() is callable not datetime() by itself. On Fri, Apr 27, 2012 at 8:46 AM, Gopi Kirupanithi wrote: > Actually I am using datetime object for comparing two date inputs. > > if datetime(fromdtpart[2],fromdtpart[1],fro

ValueError: unknown locale: UTF-8

2012-04-29 Thread Timothy Makobu
Hi, I'm getting an "unknown locale" exception and yet the LANG environment variable is set: Traceback (most recent call last): File "manage.py", line 14, in execute_manager(settings) File "/opt/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_ma

Re: ValueError: unknown locale: UTF-8

2012-04-29 Thread Timothy Makobu
The database is PostgreSQL 9.1.3 On Sun, Apr 29, 2012 at 1:09 PM, Timothy Makobu wrote: > Hi, > > I'm getting an "unknown locale" exception and yet the LANG environment > variable is set: > > Traceback (most recent call last): > File "manage.py"

Re: Using Django to develop a Database?

2012-04-29 Thread Timothy Makobu
Django Admin fits your needs well https://docs.djangoproject.com/en/dev/ref/contrib/admin/ On Sun, Apr 29, 2012 at 10:05 AM, Kevin A wrote: > Hello, > > I'm hoping someone can help me with my research. > > I've been tasked with helping to construct a Database. Within this > database will be info

Re: ValueError: unknown locale: UTF-8

2012-05-01 Thread Timothy Makobu
Update: When I downgraded to 1.3, everything worked ok. So I'll be using 1.3 for a while now to avoid surprises. On Sun, Apr 29, 2012 at 1:45 PM, Timothy Makobu wrote: > The database is PostgreSQL 9.1.3 > > > > On Sun, Apr 29, 2012 at 1:09 PM, Timothy Makobu < > m

Re: ValueError: unknown locale: UTF-8

2012-05-02 Thread Timothy Makobu
The Fix: http://patrick.arminio.info/blog/2012/02/fix-valueerror-unknown-locale-utf8/ On Tue, May 1, 2012 at 3:08 PM, Timothy Makobu wrote: > Update: > > When I downgraded to 1.3, everything worked ok. So I'll be using 1.3 for a > while now to avoid surprises. > > >

Re: users and groups management without admin site??

2012-05-04 Thread Timothy Makobu
It would also help to tell us why you don't want to use django-admin, so we can have your perspective. I personally would create a myadmin app and code the admin functionality in there. On Fri, May 4, 2012 at 11:14 AM, Benedict Verheyen < benedict.verhe...@gmail.com> wrote: > On 4/05/2012 1:41,

Re: How do you install Django on a shared hosting without root access?

2012-05-12 Thread Timothy Makobu
Hi, the host needs to specifically say they support python, then you know wsgi works with them. Check out webfaction.com On May 12, 2012 9:39 PM, "Dan Santos" wrote: > Hi I'm confused about how to setup Django on my shared hosting account > without using root. They don't have Django or Python su

Re: is django for me?

2012-05-12 Thread Timothy Makobu
HTML5+JavaScript+CSS can design a pretty fancy front, and you can use any python framework you like best for the back, Django being one. Whichever you're most comfortable using. On May 12, 2012 7:57 AM, "doniyor" wrote: > i should say, django is the most beautiful framework for working with big >

Re: Help - Which IDE is best to use.

2012-05-15 Thread Timothy Makobu
PyCharm. Spend the $$, its worth it. On Tue, May 15, 2012 at 10:13 AM, Phang Mulianto wrote: > Again? > > Well i just use a simple text editor > On May 15, 2012 2:53 PM, "Harold.Miao" wrote: > >> it is not a free sw >> >> 2012/5/15 Ezequiel Bertti >> >>> 10x pycharm... >>> >>> the best one...

Re: syncdb not creating columns in postgresql database

2012-05-15 Thread Timothy Makobu
You might want to look into using South http://south.aeracode.org/ At first i thought it was cool, then I needed to alter a table with important data on it, and that's when I saw it's usefulness. On Tue, May 15, 2012 at 9:52 AM, kenneth gonsalves wrote: > On Mon, 2012-05-14 at 09:06 -0700, don

Re: configure FileZilla upload destination!!

2012-05-15 Thread Timothy Makobu
You would configure the FTP daemon to allow that, yes. I use rsync or scp and make sure the user I'm SSH-ing as has RW permissions on the desired folder. On Tue, May 15, 2012 at 9:00 AM, doniyor wrote: > Hi Nik, thanks for help, but look, is it possible to configure the > httpd.conf or anything

Re: user.set_password('new password')

2012-05-19 Thread Timothy Makobu
user.save returns the function object, which is a valid statement, so Python wont raise an Exception. On Sat, May 19, 2012 at 9:23 AM, Min Hong Tan wrote: > hi.. > > thanks!! haha... didn't notice that. how can no error...prompt out one > > > On Fri, May 18, 2012 at 11:48 PM, Jonathan D. Ba

Re: user.set_password('new password')

2012-05-21 Thread Timothy Makobu
And a method is a function only accessible through a class. On Mon, May 21, 2012 at 3:39 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On May 19, 5:49 pm, Timothy Makobu > wrote: > > user.save returns the function object, > > > actually

Re: Inserting HTML5 Coordinates Into Django Form

2012-05-22 Thread Timothy Makobu
If I understood your question correctly, using jQuery, I would use GMAP3 http://gmap3.net/ to get the the lat and long, store those in hidden form fields, and submit that. http://www.electrictoolbox.com/jquery-get-set-form-values/ MaxMind also have a free IP-to-City database, so pygeoip.GeoIP().re

Re: Python IDLE

2012-05-30 Thread Timothy Makobu
Yea, PyCharm is the stuff. Also have python open python files; the easy way: Right click any pyton file->Left Click->Open With->Browse->c:\pythonX\bin\python.exe, for example->make sure you tick "always use the selected program to open this kind of file"->Ok On Wed, May 30, 2012 at 5:33 PM, Bil

Make ManyToMany field editable in a ModelForm

2012-05-31 Thread Timothy Makobu
Yes, how does one do that? Right now it's just rendering static choices that already exist. Or do I have to circumvent ModelForm for this field and present the field manually? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Make ManyToMany field editable in a ModelForm

2012-06-03 Thread Timothy Makobu
some > data manually for that M2M field. Write the clean__m2mfield to accept > whatever you feel is nessasary. Then, in your save method, if the field is > not a choose-able M2M Object, then create a new one and add it in. > > Those are just a couple of ideas. I'm sure others will

Re: Develop a Facebook app with Django

2012-06-07 Thread Timothy Makobu
Hi. Checkout this thread https://groups.google.com/forum/?fromgroups#!topic/django-users/fyGDJmTvpz4 On Thu, Jun 7, 2012 at 10:15 PM, francescobocca...@libero.it < francescobocca...@libero.it> wrote: > Hi all, > i read some documentation on the web about Django and Facebook but i didn't > found a

Re: Request.Method Query !

2012-06-10 Thread Timothy Makobu
If im understanding your question correctly ... Django determines the request method itself and populates a dict with the method name in the request object. So if you want to handle data submitted via HTTP POST, request.POST will contain the data. For example: def data_handler(request): if req

Re: Request.Method Query !

2012-06-10 Thread Timothy Makobu
t; get etc. > Hth > > On 10 jun, 16:36, vinod kumar wrote: > > Dear Timothy Makobu, > > > > Thanks for your explanation. I got the part which you explained. My doubt > > is : > > on the browser we just give the url and the respective functions will be > >

Re: django form, android post

2012-06-10 Thread Timothy Makobu
The data will be in the request.POST dict http://djangobook.com/en/2.0/chapter07/ On Sun, Jun 10, 2012 at 10:31 PM, electrocoder wrote: > Hi. I want send data in django html form. What is use metod ? > > -- > You received this message because you are subscribed to the Google Groups > "Django user

Re: Error migrating using South

2012-06-13 Thread Timothy Makobu
from django.db import connection, DatabaseError try: .. except DatabaseError: connection._rollback() On Wed, Jun 13, 2012 at 5:49 PM, Daniel França wrote: > I recreated the database and still get the same error when executing a > simple "syncdb". > > Tried to change the database connecti

Re: Why doesn't Django support subdomain url conf?

2012-06-16 Thread Timothy Makobu
+1 django-hosts worked very well for me. On Sat, Jun 16, 2012 at 5:04 PM, Rafał Stożek wrote: > You may want to take a look at this project: > https://github.com/ennio/django-hosts > > > On Saturday, June 16, 2012 1:48:16 PM UTC+1, Alireza Savand wrote: >> >> Have extremely control on URLs wit

Re: Avoiding code repetition in views

2012-06-29 Thread Timothy Makobu
@grimmus I have a file called shared.py, and In it, i have created a dict template_dict { } which has stuff that all the views share. I import it into views.py and any app that will use that dict. I can then add more items or alter existing ones via template_dict.update(). On Fri, Jun 29, 2012 a

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-01 Thread Timothy Makobu
First read *ALL* of this http://docs.python.org/tutorial/ if you haven't already, then redo this tutorial https://docs.djangoproject.com/en/1.4/intro/tutorial01/ as many times as you need to to understand everything in it. On Mon, Jul 2, 2012 at 8:15 AM, manish girdhar wrote: > hmm hmmm no i ha

Tor exit nodes by Geolocation

2012-07-01 Thread Timothy Makobu
Hi guys, Here's a little Django GMaps mashup I made that tries to show the geographical location of tor exit nodes http://timslab.net/tornodes/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@g

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread Timothy Makobu
2012 at 11:58 AM, Timothy Makobu < > makobu.mwambir...@gmail.com> wrote: > >> First read *ALL* of this http://docs.python.org/tutorial/ if >> you haven't already, then redo this tutorial >> https://docs.djangoproject.com/en/1.4/intro/tutorial01/ as many times as >&g

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-03 Thread Timothy Makobu
I'm in. On Tue, Jul 3, 2012 at 2:35 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Just in case anyone missed the URL, you can book your slot here: > > http://www.doodle.com/8ptehyqr6uezhtsy > > Voting open until 14th July. > > Cal > > On Mon, Jul 2, 2012

Re: map in django

2012-07-05 Thread Timothy Makobu
Something like this? http://timslab.net/tornodes/ Questions; how do you GET the location? Is it a constant location, or does it depend on something? What is at that location, that makes you want to save it? Once we know why and how you get a location, we can help you better. On Thu, Jul 5, 2012

Re: map in django

2012-07-05 Thread Timothy Makobu
http://stackoverflow.com/questions/3652951/google-maps-api-get-coordinates-of-address On Thu, Jul 5, 2012 at 10:24 AM, Satvir Toor wrote: > On Thu, Jul 5, 2012 at 12:38 PM, Timothy Makobu > wrote: > > Something like this? http://timslab.net/tornodes/ > can say. > > >

Re: map in django

2012-07-05 Thread Timothy Makobu
The link I gave you does exactly that. You give GMaps an address and it gives you JSON (or XML) of many things, among them longitude and latitude. You can then use maybe http://gmap3.net/ to display the location on the map. The ajax that will glue all that together into one page is the homework.

Re: how to use HTTPS with django

2012-07-06 Thread Timothy Makobu
For secure logins, this helps https://docs.djangoproject.com/en/dev/topics/http/sessions/?from=olddocs/#session-cookie-secure On Fri, Jul 6, 2012 at 5:44 PM, John DeRosa wrote: > On Jul 6, 2012, at 4:24 AM, Melvyn Sopacua wrote: > > > On 6-7-2012 8:08, heni yemun wrote: > > > >> I want to know h

Re: how to use HTTPS with django

2012-07-07 Thread Timothy Makobu
" I want to know how to use HTTPS to securely login ..." which satisfies the first part of the question. This way it wont be possible to login without HTTPS enabled for the project. On Sat, Jul 7, 2012 at 11:22 AM, Melvyn Sopacua wrote: > On 7-7-2012 5:05, Timothy Makobu wrote: &

Re: how to use HTTPS with django

2012-07-07 Thread Timothy Makobu
wrote: > On 7-7-2012 10:27, Timothy Makobu wrote: > > " I want to know how to use HTTPS to securely login ..." which satisfies > > the first part of the question. This way it wont be possible to login > > without HTTPS enabled for the project. > > What use i

Re: configure apache and mod_python

2012-07-11 Thread Timothy Makobu
Also, If you can, try Ngix + Gunicorn On Wed, Jul 11, 2012 at 2:38 PM, kenneth gonsalves wrote: > On Wed, 2012-07-11 at 01:03 -0300, Carlos Andre wrote: > > Hi, i'm with a hard problem. also, my apache have a problem he not > > want be stated, i try use the xamppy and now be sure that problem! As

Re: Hello!

2012-07-15 Thread Timothy Makobu
+1 On Sun, Jul 15, 2012 at 1:05 AM, Thomas Lockhart wrote: > On 7/14/12 12:04 PM, Shubz wrote: > >> Hi! I'm new to Python and Django. I feel like I'm jumping in deep end, >> but I have previous PHP and Java knowledge so what the hey. >> >> I was wondering if anybody could be kind enough to point

Re: Hello Django Warriors!

2012-07-15 Thread Timothy Makobu
Django Warr LOL! Have a look at Pinax http://pinaxproject.com/ On Sun, Jul 15, 2012 at 5:18 AM, Kurtis Mullins wrote: > On Sat, Jul 14, 2012 at 4:44 PM, Kakar > > I'm very new to this Phyton and i just downloaded django package. What i >> wanted to ask was,..can i make a social site where

people.djangoproject.com broken

2012-08-28 Thread Timothy Makobu
Hi all, Is it just me or is Django people broken? I cant login, getting a 500 on any login attempt. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/rtCcdV

Re: people.djangoproject.com broken

2012-08-30 Thread Timothy Makobu
2:22 AM, creecode wrote: > >> Hello Timothy, >> >> I just tried going to the login webpage and had no problem. I'm not >> registered on that website so my experience may be somewhat different. >> >> On Thursday, August 30, 2012 10:39:24 AM UTC-7, Timothy Mak

Re: filesystem path in settings.py

2011-11-24 Thread Timothy Makobu
Hi, Please read this whole thing https://docs.djangoproject.com/en/dev/howto/static-files/ On Fri, Nov 25, 2011 at 6:28 AM, TANYA wrote: > # Absolute filesystem path to the directory that will hold user-uploaded > files. > # Example: "/home/media/media.lawrence.com/media/" > MEDIA_ROOT = '' >

Re: filesystem path in settings.py

2011-11-24 Thread Timothy Makobu
And this too http://www.djangobook.com/en/2.0/ On Fri, Nov 25, 2011 at 7:41 AM, Timothy Makobu wrote: > Hi, > > Please read this whole thing > https://docs.djangoproject.com/en/dev/howto/static-files/ > > > On Fri, Nov 25, 2011 at 6:28 AM, TANYA wrote: > >> # A

Re: Basic installation

2011-11-24 Thread Timothy Makobu
- Install setup tools http://pypi.python.org/pypi/setuptools/0.6c11 - Go to the command line (cmd.exe) and type - easy_install django - easy_install ipython (not needed by django, but very useful, as you will see when you come to running "python manage.py shell" Then read t

Re: Installation of Django

2011-11-25 Thread Timothy Makobu
lled Django but you said > iPython would be helpful and since I don't remember much Python I was > hoping to make that work. > > Thanks so much for taking the time to help me get started you're a > life saver! : ) > > JJ > > On Nov 24, 11:56 pm, Timothy Makobu >

Re: Installation of Django

2011-11-25 Thread Timothy Makobu
> would it be good to do it a second time even though I think it worked the > first. Honestly, I'd probably leave it for now just wanted your thoughts on > easy install. > > Thanks! > > JJ > > On Fri, Nov 25, 2011 at 1:20 PM, Timothy Makobu < > makobu.mwambir

Re: Installation of Django

2011-11-26 Thread Timothy Makobu
: > >> Thanks! Yes sounds like something from my UNIX class. I have now added it. >> >> What will django-admin.py do for me? Oh are you just saying I can run it >> from anywhere now? Any of the commands I want to work with python/django? >> >> JJ >>

Re: Installation of Django

2011-11-26 Thread Timothy Makobu
But first, all of this http://docs.python.org/tutorial/index.html On Sat, Nov 26, 2011 at 10:19 PM, Timothy Makobu < makobu.mwambir...@gmail.com> wrote: > Nice. Now read ALL of this http://djangobook.com/en/2.0/ > > > On Sat, Nov 26, 2011 at 9:55 PM, JJ Zolper wrote: >

Re: Installation of Django

2011-11-27 Thread Timothy Makobu
e: > >> So you feel that that documentation of Python is the best reference? I'm >> sure it is just wanted to ask. >> >> JJ >> >> >> On Sat, Nov 26, 2011 at 2:20 PM, Timothy Makobu < >> makobu.mwambir...@gmail.com> wrote: >> >>

Re: filesystem path in settings.py

2011-12-04 Thread Timothy Makobu
ymodules/python2.6/gtk-2.0', > '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode' > > I did symlink to /usr/bin/local but still get path error. Please help. > > > > On Fri, Nov 25, 2011 at 4:44 AM, Timothy Makobu < > makobu.mwambir...@gmail.com> wrot

Re: filesystem path in settings.py

2011-12-08 Thread Timothy Makobu
is to using the staticfilesapp. On Sun, Dec 4, 2011 at 11:01 AM, Timothy Makobu wrote: > In Django 1.3: > > STATIC_ROOT = os.path.join(os.path.dirname(__file__), > 'static').replace('\\','/') > > where the folder "static" is in the root of yo

django-facebook-graph

2011-12-19 Thread Timothy Makobu
Hi All, Im looking to post to my facebook wall via django. Facebook have discontinued the python-sdk. I then came across django-facebook-graph http://readthedocs.org/docs/django-facebook-graph/en/latest/index.html What's your opinion on it? Is there a better library? Thanks. -- You received t

Re: Which IDE should I use for Django?

2011-12-19 Thread Timothy Makobu
Komodo Edit. On Mon, Dec 19, 2011 at 5:27 PM, girish shabadimath < girishmss.1...@gmail.com> wrote: > wingware IDE. > > > On Mon, Dec 19, 2011 at 6:59 PM, Ezequiel Bertti wrote: > >> pycharm +1 >> >> >> 2011/12/19 Lexa Po >> >>> SublimeText2 >>> +1 >>> >>> 19 декабря 2011 г. 15:47 пользователь n

Re: django-facebook-graph

2011-12-19 Thread Timothy Makobu
es, so that you only load the modules, which > you need for your project. it's something like the aim for a version > 1.0. but at this point, experimental, undocumented and not fully > tested. > > So if you have any question, feel free to write, open issues on > github, et

Re: Serving Django Admin Static Media Files with Apache WSGI on Ubuntu

2011-12-20 Thread Timothy Makobu
The way I do it, is I use the staticfilesapp https://docs.djangoproject.com/en/dev/howto/static-files/ then i have the web server use the static folder in my project folder to serve requests for /static works well on ep.io On Tue, Dec 20, 2011 at 10:58 AM, Ganesh Kumar wrote: > Hi guys, I tryi

Re: Serving Django Admin Static Media Files with Apache WSGI on Ubuntu

2011-12-20 Thread Timothy Makobu
dler() *** On Tue, Dec 20, 2011 at 11:39 AM, Timothy Makobu < makobu.mwambir...@gmail.com> wrote: > The way I do it, is I use the staticfilesapp > https://docs.djangoproject.com/en/dev/howto/static-files/ > then i have the web server use the static folder in my project folder

forms.CharField() remove text

2011-12-21 Thread Timothy Makobu
Hi, I have this form: class PostForm(forms.Form): post = forms.CharField(label=None, help_text=None, max_length=160, widget=forms.Textarea(attrs={'rows':3, "cols":70,})) And the constructor looks like this: PostForm(auto_id=False) according to folks on the net, this should

Re: forms.CharField() remove text

2011-12-21 Thread Timothy Makobu
#x27;rows':3, "cols":70,})) > > The auto_id parameter only controls whether label tags and id attributes > are rendered (based on the field name): > https://docs.djangoproject.com/en/dev/ref/forms/api/#configuring-html-label-tags > > > > On Wed, Dec 21, 2011

Re: forms.CharField() remove text

2011-12-22 Thread Timothy Makobu
Also, I just found out from here https://docs.djangoproject.com/en/1.3/topics/forms/ that i can just: {{form.field_name}} which makes things even more flexible. 2011/12/22 Timothy Makobu > Fantastic. Thanks Amao. > > > 2011/12/22 Branton Davis > >> AmaoZhao's a

Re: Writing apps for django

2011-12-24 Thread Timothy Makobu
Hi, http://www.djangobook.com/en/2.0/ On Sat, Dec 24, 2011 at 8:18 PM, Denis Darii wrote: > Take a look at Django Conventions: > http://ericholscher.com/projects/django-conventions/ > > Also this article could be useful for you: > http://blog.zacharyvoase.com/2010/02/03/django-project-conventi

Re: (Re)Learning Django

2011-12-24 Thread Timothy Makobu
Hi, The book is 2 years old, but it's still the best resource I have found that helps me *understand* Django. It covers 1.x, and the current stable release is 1.3 Is there a newer resource that's just as comprehensive? On Sat, Dec 24, 2011 at 5:44 PM, Alec Taylor wrote: > Maybe go through the

Re: Django - Forms Widget TypeChoiceField - how to set id for two radio buttons

2011-12-26 Thread Timothy Makobu
Try this: widget=forms.RadioSelect(renderer=HorizRadioRenderer, attrs={"id":"whatever_you_want"}) On Tue, Dec 27, 2011 at 3:08 AM, Mengu wrote: > hi luke, > > instead of setting auto_id to False, you should give it a string > parameter. please read more on > > https://docs.djangoproject.com/en

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Timothy Makobu
Hi, If you can, upload a screenshot of the command prompt with the commands entered here https://droplr.com and send us the link. On Fri, Dec 30, 2011 at 10:13 PM, Chris Kavanagh wrote: > > > On Dec 30, 9:42 am, Kev Dwyer wrote: > > Chris Kavanagh wrote: > > > Hi, I'm using WinXP, Python27, dj

Re: Django app for IP address lookup

2011-12-31 Thread Timothy Makobu
Thanks. Do you have an API for it yet? so we can do something like http://dazzlepod.com/ip/api/json/1x7.x37.8.xx and get the data in JSON? On Sat, Dec 31, 2011 at 4:09 PM, yati sagade wrote: > Nice app :) can you share the sources? And happy new year to you, too! > > > On Sat, Dec 31, 2011 at

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
Hi, File associations are fine i reckon, because django-admin is giving you the help message because for some reason it thinks you're *giving it improper input*. On Sat, Dec 31, 2011 at 7:40 PM, Chris Kavanagh wrote: > While looking for a solution, I found someone with a similar problem. > he t

Re: Django app for IP address lookup

2011-12-31 Thread Timothy Makobu
Thanks man. Happy new year! On Sun, Jan 1, 2012 at 9:33 AM, Addy Yeow wrote: > Here you go: > http://dazzlepod.com/ip/8.8.8.8.json > > On Sat, Dec 31, 2011 at 10:14 PM, Timothy Makobu < > makobu.mwambir...@gmail.com> wrote: > >> Thanks. >> >> D

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
+1 On Sun, Jan 1, 2012 at 9:49 AM, Bart Nagel wrote: > At 2011-12-31 18:56:14 -0800, Chris Kavanagh wrote: > > Ok I've had a breakthrough (I guess,lol). I started a command prompt > > from my Python Scripts folder (C:\Python27\Scripts\), typed in "Python > > django-admin.py startproject mysite",

Re: Happy new year

2012-01-01 Thread Timothy Makobu
+1 On Sun, Jan 1, 2012 at 8:28 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Happy new year everyone :) > > Lets hope 2012 is a great year for Django!! > > > On Sun, Jan 1, 2012 at 8:58 AM, Daniel Ngarambe wrote: > >> Hello Geeks, >> >> I wish you all a

Re: Expand FlatPage admin interface.

2012-01-01 Thread Timothy Makobu
https://docs.djangoproject.com/en/1.3/releases/1.0-porting-guide/#the-admin On Sun, Jan 1, 2012 at 9:59 PM, Elad Zucker wrote: > I am learning Django using the book "Practical Django Project". This isn't > such an old book but seems to be very out-dated in terms of django. it Uses > the old admi

Re: Cheap Django hosting?

2012-01-02 Thread Timothy Makobu
ep.io On Mon, Jan 2, 2012 at 1:00 PM, Andre Terra wrote: > Hello, Alec > > > There are plenty of threads regarding inexpensive django hosting. Please > browse the mailing list archives before starting a new one. > > We don't need another 100 replies with suggestions! > > > Cheers, > AT > > > On

Re: Introducing: pythonpackages.com

2012-01-03 Thread Timothy Makobu
Nice. Any chance of a "Login with Google" button? On Tue, Jan 3, 2012 at 11:45 AM, Thomas Weholt wrote: > Looks nice, allthough one thing that annoys me quite a bit is how > github suddenly becomes the de facto way of logging in everywhere, > like djangopackages.com as well. My old login doesn't

Re: Cheap Django hosting?

2012-01-03 Thread Timothy Makobu
Hi, If you must have root (mybe Twisted is one of your dependancies? or you need all 65535 ports?) Amazon EC2 is a prudent choice. For example, I pay 1 to 2 USD/m, and sometimes cents on my micro instance. They charge me for only what I use, and their free quotas are generous. On Tue, Jan 3, 201

Re: Cheap Django hosting?

2012-01-04 Thread Timothy Makobu
Yeah, 2 bux. With Gentoo im able to squeeze out quite a bit out of that little thing. But I switch to c1.xlarge when it comes to running "# emerge --update --deep --with-bdeps=y --newuse world" and switch back to t1.micro immediately after. On Wed, Jan 4, 2012 at 6:21 PM, creecode wrote: > Hell

Re: Cheap Django hosting?

2012-01-04 Thread Timothy Makobu
.html> I reckon) On Wed, Jan 4, 2012 at 7:24 PM, Javier Guerra Giraldez wrote: > On Tue, Jan 3, 2012 at 11:04 AM, Timothy Makobu > wrote: > > They charge me for only what I use, and their free quotas are generous. > > doesn't the free tier expire after one year? >

Re: Could someone please give some suggestions about how to set up email sending settings on production.

2012-01-19 Thread Timothy Makobu
Hi, There's Amazon SES http://aws.amazon.com/ses/ On Thu, Jan 19, 2012 at 12:07 PM, Daniel Roseman wrote: > On Thursday, 19 January 2012 02:45:09 UTC, Chen Xu wrote: > >> Hi, everyone: >> >> Could someone please give some suggestions about how to set up email >> sending settings on production.

Re: Error: No module named books

2012-11-29 Thread Timothy Makobu
Im betting you're using Django 1.4x The layout is different in 1.4. Download the version the book is using (1.1? https://www.djangoproject.com/download/ bottom right), then all should work. On Thu, Nov 29, 2012 at 4:33 PM, Tom Evans wrote: > On Thu, Nov 29, 2012 at 4:51 AM, Chris Recher > wro

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Timothy Makobu
Root directory??? As in / ? Nooo nonono On Sat, Dec 1, 2012 at 12:14 PM, Chris Cogdon wrote: > > > On Friday, November 30, 2012 8:53:42 PM UTC-8, Mike Dewhirst wrote: >> >> On 1/12/2012 3:48pm, Loai Ghoraba wrote: >> > I have ran chmod o+rx on the root directory, isn't this enough (isn't >>

  1   2   >