Re: Registering a user profile

2012-02-14 Thread Kevin Anthony
Did you include the module in your settings.py? Kevin Please excuse brevity, sent from phone On Feb 14, 2012 1:27 PM, "Christos Jonathan Hayward" < christos.jonathan.hayw...@gmail.com> wrote: > Thank you, little master and creecode. I tried 'pim.UserProfile' and > 'pim.models.UserProfile' and the

Easy Blog

2012-05-11 Thread Kevin Anthony
Hello, I am a student and i have an existing django website that i'd like to add a blog to, what is the simplest way to do this? Also, it would be nice if i could use a standared CSS file to skin the blog to look like the rest of my website. Thanks in advance Kevin -- Thanks Kevin An

Re: Django/Python Circular model reference

2012-06-01 Thread Kevin Anthony
Define it in one and back reference it in the other Kevin Please excuse brevity, sent from phone On Jun 1, 2012 12:38 PM, "Jak" wrote: > The problem that I'm having is that the model "Question" is not > defined since I am referencing it after I use it in the Answer > model. > > > Thanks > >

Re: Update database with model changes

2012-06-07 Thread Kevin Anthony
Use south Kevin Please excuse brevity, sent from phone On Jun 7, 2012 2:05 PM, "Robert Steckroth" wrote: > Hey Gang, is there a way to update the database with a syncdb or > other command after a model has been changed? I added a field > the the model after the syncdb. > > > -- > Bust0ut, Surgem

Re: cookie based sessions or no?

2012-06-13 Thread Kevin Anthony
If you want to see an example, I have a Django app that sends json to both an andriod app and a desktop app written in C Django App: http://github.com/KevinAnthony/rchip_website Desktop App: http://github.com/KevinAnthony/rchip Android App: http://github.com/KevinAnthony/rchip_android On Jun 1

Cacheing and JSON

2012-07-06 Thread Kevin Anthony
ent to the device. Does anyone have an idea of the best way of doing something like this. The commands come in via JSON also, if that helps. -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Banshee? Download the Community Extensions: http://banshee.fm/download/extensions/ -- You rec

Re: Plotting a line graph

2012-07-30 Thread Kevin Anthony
to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com

HttpResponseNotModified returning 200 code

2012-08-22 Thread Kevin Anthony
27;m still getting a HTTP status code of 200. Can someone point me in the correct direction? -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Banshee? Download the Community Extensions: http://banshee.fm/download/extensions/ -- You received this message because you are subscribed to t

Re: HttpResponseNotModified returning 200 code

2012-08-22 Thread Kevin Anthony
wow, that's embarrassing. thanks. On Wed, Aug 22, 2012 at 4:16 PM, Alexis Roda < alexis.roda.villalo...@gmail.com> wrote: > Al 22/08/12 21:36, En/na Kevin Anthony ha escrit: > >> Here is my code: >> >> id = get_id(request) >> if id is not No

Re: bar charts

2011-11-06 Thread Kevin Anthony
Google charts api Kevin Please excuse brevity, sent from phone On Nov 6, 2011 11:57 PM, "kenneth gonsalves" wrote: > hi, > > what do people use to display bar charts in their sites? > -- > regards > Kenneth Gonsalves > > -- > regards > Kenneth Gonsalves > > -- > You received this message because

Authentication over JSON

2012-01-07 Thread Kevin Anthony
I have a small exposed json API, currently it doesn't require authentication, but i'd like to integrate it with django's authentication. A quick google search came up empty, and i was wondering if anyone had any recommendations on how to do this? -- Thanks Kevin Anthony www.NoSid

Re: Authentication over JSON

2012-01-08 Thread Kevin Anthony
https://docs.djangoproject.com/en/1.3/topics/auth/#authentication-in-web-requests On Sun, Jan 8, 2012 at 12:20 PM, Stodge wrote: > This link is giving me a Page Not Found. > > On Jan 7, 1:10 pm, Michael Elkins wrote: > > On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthon

Re: Authentication over JSON

2012-01-08 Thread Kevin Anthony
(session, CURLOPT_WRITEFUNCTION, get_active_decives_callback); curl_easy_perform(session); g_free(url); } curl_easy_cleanup(session); Am i doing something wrong? Thanks Kevin On Sun, Jan 8, 2012 at 12:22 PM, Kevin Anthony wrote: > > https://docs.djangoproject.com/en/1.3/topics/auth/#authenti

Django Static Files

2011-06-24 Thread Kevin Anthony
ozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.91 Chrome/12.0.742.91 Safari/534.30" I'm sure i'm missing something stupid, but i can't figure out why it won't serve with apache When I serve it using python manage 0.0.0

Re: rss feed question

2011-06-24 Thread Kevin Anthony
cribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://gro

Re: Django Static Files

2011-06-25 Thread Kevin Anthony
I sort of knew that Can someone post their scrubed conf file? On Jun 25, 2011 12:54 AM, "Andrew Brookins" wrote: > Sorry: posting from phones... Not always awesome. > > If the development server serves your static files, but Apache does not, then the problem is likely somewhere in your Apache

Json and django.contrib.auth.views.login

2011-07-19 Thread Kevin Anthony
rror was: 'module' object has no attribute 'json_command' this is my login URL: url(r'^accounts/login/$','django.contrib.auth.views.login', {'template_name': 'main/login.html', }), -- Thanks Kevin Anthony www.NoSideRacing.com -- You

Re: Json and django.contrib.auth.views.login

2011-07-19 Thread Kevin Anthony
rra wrote: > Kevin, > > Please open your views.py module located inside the rchip module and > you will see there is no view named json_send_command. > > Please refer to that app's documentation to find more about the > correct setup for your urls. > > Cheers, > AT

Re: import django models without runing the server

2011-07-21 Thread Kevin Anthony
I found the best way to do this is python manage.py < script.py On Jul 21, 2011 8:00 PM, "Gelonida N" wrote: > On 07/18/2011 04:33 PM, bruno desthuilliers wrote: >> On Jul 18, 3:33 pm, Alexander Crössmann >> wrote: >>> Hi Malcom, >>> >>> I am not sure the management commands are what I want >> >>

Django, Json and Android

2011-08-11 Thread Kevin Anthony
, is there any reading material on it? -- Thanks Kevin Anthony www.NoSideRacing.com -- 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 this group, sen

Deleting a model object then returning it

2011-08-15 Thread Kevin Anthony
ter i delete it, i need to serialize the data to JSON Thanks Kevin Anthony -- 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 this group, send email t