Re: New to Django

2022-11-06 Thread Kevin gallagher
Thanks for the help! On Thursday, November 3, 2022 at 7:28:08 PM UTC subtitle indo wrote: > Please let me know if that sounds okay. > > On Wed, Nov 2, 2022 at 6:05 PM Kevin gallagher > wrote: > >> Hi guys, >> Im currently learning django and am doing a project for

Re: Freelance Django and Python work

2023-06-18 Thread Kevin Anand
As a current backend engineer, yes, I am also interested in this position. Please do keep me updated with any information better position. On Sat, Jun 17, 2023, 5:36 PM Vairamuthu Puvanachandran wrote: > Are you working from home? > Vai > > On Thu, Jun 15, 2023, 6:28 AM Francis F. Massaquoi, Jr.

Re: Looking for a Learning Buddy

2023-06-19 Thread Kevin Anand
I would be interested too! On Sun, Jun 18, 2023, 9:36 AM John Ayodele wrote: > I have some basic knowledge from high school. > But if I get stuck, I'll go online and find solutions. > > On Sun, Jun 18, 2023 at 3:36 PM Jeman Kumar > wrote: > >> did you learn math for machine learning? >> >> On S

Re: How do I sort choices by their localized label?

2012-02-11 Thread Kevin Harvey
Have you tried sorting them at the template level? A filter like dictsort might do the trick https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#dictsort -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discu

Re: What Can I use?

2012-02-11 Thread Kevin Harvey
I always look at djangopackages.com for questions like this: http://djangopackages.com/grids/g/commenting/ -- 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/-/

Is django-syncr dead?

2012-02-12 Thread Kevin Harvey
in best practices. - If not, is there any interest in reviving this project? I'd be happy to contribute. - Any code out there that hasn't been committed that could be? - Anyone using django-syncr (particularly the YouTube parts) and new syncs are working properly? It seems to

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 &

Re: In views.py snippet of Code

2012-03-15 Thread Kevin Wetzels
On Thursday, March 15, 2012 7:32:53 PM UTC+1, Django_for_SB wrote: > > Hi All, > > I'm using render_to_response() in my views.py module. And of course, > I've imported the method: > > "from django.shortcuts import render_to_response" > > # This is the code that's generating the error: > def

Re: model can return a count but no data

2012-03-18 Thread Kevin Wetzels
On Sunday, March 18, 2012 12:55:31 PM UTC+1, Maarten Japink wrote: > > I 'm working on a taxonomie. > These are my models: > > class Classificatie(models.Model): > name=models.CharField(max_length=60) > > def __unicode__(self): > return self.name > > class Taxonomie(models.M

Using Django to develop a Database?

2012-04-29 Thread Kevin A
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 information (such as their strengths and weaknesses, how successful they are, etc.) about various organizations. Most of this information is more qualitative

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

Django 1.3 online documentation ... error? ... quibble?

2012-05-18 Thread Kevin Cole
Hi, I'm once again attacking the Django with vigor. And THIS time, I've actually got some forward momentum and am approximating progress! Yay! ;-) In reading "Creating forms from models" (https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/) I note the mention of a model field called

Can't add groups in the admin interface

2012-05-25 Thread Kevin Cole
Hi, I'm using Django 1.3 with the "stock" admin interface. No customizations. In the Site Administration, I can add new users. However, if I try to add a group I get the Add Group screen, with the fields for name and selection of permissions, and the three save buttons at the bottom ("Save and

Re: Can't add groups in the admin interface

2012-05-25 Thread Kevin Cole
P.S. Adding permissions to each user individually works (and those permissions are not ignored), and the database validates correctly according to "django-admin validate". -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

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 t

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.

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: Automated updating of data across staging and production environments?

2012-07-26 Thread Kevin Daum
Sithembewena, Have you considered using the same database for staging and production? Then the problem would be solved by purging the old test data they no longer want, which I think would be much easier than partial, conditional synchronization. Kevin On Thursday, July 26, 2012 6:10:33 AM

Re: Automated updating of data across staging and production environments?

2012-07-27 Thread Kevin Daum
oad the data into the production database. Using Fabric, as Victor mentioned, would be a step towards automating the process. Kevin On Thursday, July 26, 2012 10:29:58 AM UTC-4, Victor Rocha wrote: > > I partly agree with the above question. It's a solution, but you usually &

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: Posting from HTTP to HTTPS on same domain results in CSRF failure

2012-10-31 Thread Kevin Veroneau
I did this approach before and it seems to break Google Search results. :( I do want users to use the site and find me easily after all. On Oct 31, 2012 6:24 AM, "Mike Dewhirst" wrote: > On 31/10/2012 7:21pm, Kevin wrote: > >> Hello everyone, >> >>I am in

Re: Posting from HTTP to HTTPS on same domain results in CSRF failure

2012-10-31 Thread Kevin Veroneau
ontain search terms if the search hit is non-HTTPS. > > > Joni > > > keskiviikko, 31. lokakuuta 2012 15.41.11 UTC+2 Kevin kirjoitti: >> >> I did this approach before and it seems to break Google Search results. >> :( I do want users to use the site and fin

Re: Admin staticfiles stubbornly hiding behind 404s

2011-08-24 Thread Kevin Golding
jango/contrib/admin/media/ directly, after all I don't copy the templates over unless I want to override them (and yes, I realise that means I really should have spotted django had a default static directory). Basically static files is just an easier way to copy the admin css/js/etc. to the pr

Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
nrenskers My twitter account where I write about my quest: http://www.twitter.com/movetoarctic I also do Javascript and iPhone/Mac development, and have 9 years of experience in PHP. Thanks! Kevin -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
Ha, yeah I know that Iceland is not in the Arctic Circle, strictly speaking. Maybe I should've said the Arctic Circle region. -- 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/

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
CCP actually wanted me for their UI Programmer position. Did the first round of interviews, made a usability report for them, all was well. And then they decided that they don't really need a UI Programmer after all :( Their other positions are not really a great match for me, sadly. Too much C

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
Awesome, thanks! On Friday, September 30, 2011 2:44:45 PM UTC+2, Sumod wrote: > > http://www.arcticstartup.com/ > > > > On Fri, Sep 30, 2011 at 6:09 PM, Kevin Renskers wrote: > >> Ha, yeah I know that Iceland is not in the Arctic Circle, strictly >> speaking.

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
; Nederland. > > Hope this helps. > > Cal > > On Fri, Sep 30, 2011 at 1:47 PM, Kevin Renskers wrote: > >> CCP actually wanted me for their UI Programmer position. Did the first >> round of interviews, made a usability report for them, all was well. And >>

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
I don't think many people will ever understand why I'd want to move to the Arctic region. But, I really don't understand how many people would like to live in Spain, France or Italy. Me, I like long, cold winters with lots of snow. I don't like hot summers. I'm just weird I guess :) Reykjavik a

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Kevin Renskers
Thanks for the suggestion, but the US is not really an option, social- and economic security wise and also the distance back to the Netherlands. I'd like to be able to afford a flight back to friends and family more then once or twice a year :) Pretty much the same goes for Chile or Argentina.

Problems with jquery and accessing django template system

2011-11-02 Thread Kevin Miller
ex].pk" instead of the value. I have checked that the variable is returning values and it is returning values outside of django template blocks. I don't know, but it seems that the django template is reading the data before it is evaluated by jquery/javascript. How can I format t

Re: Problems with jquery and accessing django template system

2011-11-02 Thread Kevin Miller
Thanks Tom, but I have already tried that and it didn't work. On Wed, Nov 2, 2011 at 12:25 PM, Tom Evans wrote: > n Wed, Nov 2, 2011 at 5:13 PM, Kevin Miller wrote: >> I have a url that I need to attach to link that is in a jquery >> section. It seem like the django te

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 Gons

DRel: A small relational algebra library for Django.

2011-11-14 Thread Kevin Mahoney
Hi all, I released DRel over the weekend: https://github.com/KMahoney/DRel It lets you build up SQL queries using a queryset-like interface. Hopefully somebody other than me will find it useful. -- You received this message because you are subscribed to the Google Groups "Django users" group.

'IOError: [Errno 2] No such file or directory' when testing file uploads

2011-11-25 Thread Kevin Harvey
ror: [Errno 2] No such file or directory: '/Users/username/workspace/eclipse/project/media/../myproject/myproject/myapp/tests/assets/test.jpg' I'm using PIL's width/height methods here because I can't use Django's own get_image_dimensions, as it's not an ImageField.

Re: How to deploy new code to the Production Server?

2011-12-06 Thread Kevin Daum
I use pip and virtualenv for reproducible environments, nginx and gunicorn as production web servers, init.d scripts (on debian) for managing gunicorn (and just about everything other important process on the server), mercurial for source control and fabric for deployment. I keep all files necessar

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

Pinax or Straight Django

2012-01-16 Thread Kevin Miller
both. Are there really any benefits in using Pinax? NB: On a quick browse on google I realize that it was difficult to find good and up to date tutorials on Pinax. Thanks in advance for the replies. Kevin -- You received this message because you are subscribed to the Google Groups "D

LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
Also asked on StackOverflow http://stackoverflow.com/questions/13918785/django-ldap-search-results-disappear Why in the code below, does the global *direktorie* return the correct data in the *login()* debug template, yet when I try to access the same variable from *autoname()* it says the list

Re: LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
On Mon, Dec 17, 2012 at 1:42 PM, Bill Freeman wrote: > Perhaps in the thread in which autoname is run, login has not yet been run. And here I'll display my ignorance about threading. I've done nothing specific to ask for threading. I wouldn't know how to thread even if I had a sewing machine. ;

Re: LDAP search results "disappear"

2012-12-17 Thread Kevin Cole
On Mon, Dec 17, 2012 at 1:57 PM, Kevin Cole wrote: > And here I'll display my ignorance about threading. I've done nothing > specific to ask for threading. I wouldn't know how to thread even if I > had a sewing machine. ;-) I'm using apache prefork with mod-wsgi.

Re: Is their an easy way to implement an ordered list of, say, urls in Django

2012-12-27 Thread Kevin Monceaux
It seems to work well. -- Kevin http://www.RawFedDogs.net http://Lassie.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum. -- You received this message because you are subscrib

Re: Converting Django app into a Desktop app

2013-03-01 Thread Kevin London
@Loai, how did Pyinstaller work out for you? Is that the route you took? On Thursday, December 20, 2012 10:20:31 PM UTC-8, Loai Ghoraba wrote: > > @Filib: thanks a lot, seems that is what I will need exactly :) > > On Fri, Dec 21, 2012 at 1:37 AM, Mike Dewhirst > > > wrote: > >> See also >> htt

Re: Converting Django app into a Desktop app

2013-03-01 Thread Kevin London
tions, this has been a very helpful thread in working through the distributing problem. *Kevin London* **Light Iron 6381 De Longpre Avenue Los Angeles, CA 90028 t: 323-472-8300 c: 858-603-9037 www.lightiron.com On Fri, Mar 1, 2013 at 9:13 AM, Loai Ghoraba wrote: > actually I were busy in some

Re: Converting Django app into a Desktop app

2013-03-06 Thread Kevin London
he intended application, but it should at least provide some clues. *Kevin London* **Light Iron 6381 De Longpre Avenue Los Angeles, CA 90028 t: 323-472-8300 c: 858-603-9037 www.lightiron.com On Wed, Mar 6, 2013 at 12:30 AM, Loai Ghoraba wrote: > thanks a lot, I will look at them if I have time :

Re: Benchmarking django application using ab (apache benchmark)

2013-05-08 Thread Kevin Daum
ab is one of the standard options. There are more listed here on StackOverflow<http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website>. You could also check out loads <https://github.com/tarekziade/loads>, though it's still a prototype. Kevin On Tuesda

Re: new to Django and building web applications. Advice with postgresql

2013-05-21 Thread Kevin Daum
o put into production, I'd start using whatever database you're going to use in production. Kevin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an ema

DateTime in Django (Help)

2011-05-09 Thread Kevin Miller
without using a ModelForm but I think using the ModelForm is the proper way to do it. Can someone show me a small example of using ModelForm with DateTime field? How can can the DateTime field me displayed in django templates? Thank you so much in advance. Kevin Miller -- You received this

Re: DateTime in Django (Help)

2011-05-09 Thread Kevin Miller
10:55 AM, Kevin Miller wrote: >> Dear all, >> >> I am new to django but is in the process of building my first website. I have >> been ok for a while as I am not new to programming in python. However, I have >> one problem that I cannot figure out the proper way to

Re: Static files

2011-05-18 Thread Kevin Monceaux
orm': form}) which I just discovered earlier today while fighting with a similar problem. I was having trouble accessing currently logged in user info in my templates because I wasn't using RequestContext. -- Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Brucevill

Re: Static files

2011-05-18 Thread Kevin Monceaux
On Wed, May 18, 2011 at 03:03:42PM -0500, Kevin Monceaux wrote: > to: > >return render(response, 'index.html', {'form': form}) I should proof read more carefully. That should be: return render(request, 'index.html', {'form': fo

Re: Is there an HTML editor that's Django-aware

2011-05-20 Thread Kevin Monceaux
On Fri, May 20, 2011 at 07:51:06AM -0400, Brian Bouterse wrote: > +1 for vim I'll second that motion. I've tried numerous other editors and keep sticking with vim for almost everything. I do use emacs for my e-mail editor, with Mutt as my mail client. -- Kevin http://www.R

problems using django-registration

2011-06-20 Thread Kevin Miller
believe there is some broken link in my understanding of django-registration. Can anyone please tell me how to integrate session management with django-registration. Google did not help me that much. Thanks in advance. Kevin. -- You received this message because you are subscribed to the Google

Re: problems using django-registration

2011-06-21 Thread Kevin Miller
Oh silly me. I was not returning user in the HttpResponse. I don't why I assumed that it would be automatically available. Thanks all. On Mon, Jun 20, 2011 at 9:13 PM, Kenneth Gonsalves wrote: > On Mon, 2011-06-20 at 16:15 -0500, Kevin Miller wrote: >> Can anyone please tell me ho

Re: problems using django-registration

2011-06-21 Thread Kevin Miller
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/group/djang

Re: csrf token driving me crazy

2011-06-22 Thread Kevin Renskers
The documentation about CSRF and AJAX was already linked: https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax The note about backwards incompatibility can be found here: https://docs.djangoproject.com/en/1.3/releases/1.3/#csrf-validation-now-applies-to-ajax-requests -- You received t

Re: updating a user form?

2011-06-22 Thread Kevin Renskers
I'd advise you to read https://docs.djangoproject.com/en/1.3/topics/auth/#storing-additional-information-about-users. So, create a separate model for the profile, which can be edited by the user once he is logged in. -- You received this message because you are subscribed to the Google Group

Re: how to display form data with original values after validation failure?

2011-06-22 Thread Kevin Renskers
If I understand this correctly, then you want something like this? 1) Show a form to edit something 2) User changes fields, submits the form 3) If the form was not valid, not only show the errors and the form with the entered values, but also the *old* values, pre-edit. I think your best bet is

Re: set language from user lang in DB?

2011-06-22 Thread Kevin Renskers
from django.utils import translation translation.activate(language_code) See also http://stackoverflow.com/questions/2336785/set-language-within-a-django-view -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: WMD-editor: Where's wmd/urls.py?

2011-06-22 Thread Kevin Renskers
I think it's an error in the documentation. Since there are no views, it's probable that there are no urls as well. -- 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

Re: Is multiple inheritance with abstract model classes ok?

2011-06-22 Thread Kevin Renskers
Perfectly fine! -- 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/-/6Vp_0w_sz_cJ. To post to this group, send email to django-users@googlegroups.com. To unsubsc

Re: Django EmailMultiAlternatives with Embadded Image in HTML

2011-06-22 Thread Kevin Renskers
If I google on "django html email inline image" I see multiple solutions. None of them worked? Seems unlikely to me... -- 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/dja

Re: Form wizard

2011-06-22 Thread Kevin Renskers
The documentation on https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-wizard/ is pretty clear. The part where you're going in the wrong direction is the url config. Compare with https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-wizard/#hooking-the-wizard-into-a-u

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

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-07 Thread Kevin Monceaux
to keep up with than anything web based. -- Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum. -- You received this message because you are subscribed to t

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-07 Thread Kevin Monceaux
that were in the mailbox the last time it was accessed and new messages that were added after the mailbox was last accessed. It's easy to skim through and zero in on new topics that are of interest, and/or old threads that I've been following. -- Kevin http://www.RawFedDogs.net ht

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 >> >>

Re: Upload Multiple Images App ?

2011-08-08 Thread Kevin Monceaux
has the same href="https://github.com/jdriscoll/django-imagekit/issues/16";>bug > as django-stdimage. I suspect the above known bugs are related to a known bug in Django: https://Docs.DjangoProject.com/en/1.3/releases/1.2.5/#filefield-no-longer-deletes-files which many consider a featu

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

Re: Mailing Lists Vs. Forums (Was: Django's documention is horrible)

2011-01-10 Thread Kevin Monceaux
. I'd love to have the full archive of this list at my fingertips. -- Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum. -- You received this message because

Re: Django's documention is horrible

2011-01-11 Thread Kevin Monceaux
can build from Django source? I think it can be built in several formats. I've only tried the PDF version myself. The PDF manual for Django 1.2.3 weighs in at 945 pages, complete with index. Chapter 5 is titled API Reference. -- Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup

Re: Django's documention is horrible

2011-01-11 Thread Kevin Monceaux
On Tue, Jan 11, 2011 at 05:12:46PM -0600, Kevin Monceaux wrote: > Do you mean like the reference manual one can build from Django > source? The above wasn't entirely clear. I meant the manual one can build from the documentation source code which is included the Django sou

Confused by __unicode_cast and __str_cast in django.utils.functional

2011-01-23 Thread Kevin Xiao
esn't __unicode_cast function need to call *unicode* on *self.__func(...)* like what __str_cast does,call *str* function? Any help is appreciated. Kevin Xiao -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Generic views v.s. shortcuts

2011-03-23 Thread Kevin Renskers
se, I also have to change my urls config to now use Home.as_view(), which needs to be imported, etc. Seems like a lot of code and repeating myself. Thanks, Kevin -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Generic views v.s. shortcuts

2011-03-23 Thread Kevin Renskers
Hi Andre, Well, it would be much easier if get_context_data only needs to return a dictionary. Guess I'll build my own class for that :) But apart from that, my real question is why there are generic views *and* shortcut functions. Which is recommended in which case? Cheers, Kevin --

Tests failing after adding django-bower app

2015-03-08 Thread Kevin Ndung'u
I have a peculiar case where after adding the django-bower app to my Django project, all of a sudden my tests are failing on the CI server but they are passing when I run them locally. I have posted the details on Stackoverflow. Any help would be greatly appreciated. https://stackoverflow.co

Re: Fixing a poorly written Django website (no unit tests)

2015-03-08 Thread Kevin Ndung'u
On Sunday, March 8, 2015 at 12:16:43 AM UTC+3, Some Developer wrote: > > On 06/03/15 16:23, Ilya Kazakevich wrote: > > You may start from highest level testing: > > 1) create "usage scenarios" for your website. Like "customer opens page > > 'foo', and should see 'bar'". You use such scenarios fo

Sending mass email in Django

2014-07-28 Thread Kevin Ndung'u
Hi people, I am currently maintaining a website where at times I may need to send around 10,000+ emails at a time. I just want to ask on what methods you may consider Django best practices e.g. in efficiency when sending mail to a list of this size? I am currently handling this as a celery ta

Re: deploying django on heroku

2014-09-07 Thread Kevin Ndung'u
As it says, just run those commands, setting your username and email, to set your git identity (Username and Email address) which is required for commits. On Saturday, September 6, 2014 1:21:09 PM UTC+3, ngangsia akumbo wrote: > > i have another error > > yems python-getting-started # git commit

Re: heroku django

2014-09-11 Thread Kevin Ndung'u
Yes, you can. You can develop locally then when the time comes to deploy it then add it to Github and subsequently to Heroku. I personally prefer this since you get to focus on the app first and deploy later. On Thursday, September 11, 2014 11:29:39 AM UTC+3, ngangsia akumbo wrote: > > i have a

Re: heroku django

2014-09-11 Thread Kevin Ndung'u
There is really no difference when you add it to Github or Heroku, in my opinion. Achieves the same result in the end. On Thursday, September 11, 2014 11:42:12 AM UTC+3, ngangsia akumbo wrote: > > or should i create my app locally add it on git hub and clone it on heroku > if that is a better pro

Re: cURL or wget with contrib.auth and CSRF

2014-12-04 Thread Kevin Trainor
out so using Unixutils as it allows me to set the proxy config. Thanks, Kevin On Thursday, April 14, 2011 4:32:46 AM UTC-7, David wrote: > > Hello, > > I am sorry for asking this, I know similar questions have been asked > before but I could not piece together the answer I neede

Version number comparison and beta

2014-04-30 Thread Kevin Golding
ith a version number such as 1.7a1, but this is going to look pretty ugly going forward. What is the best practice for doing version number comparisons taking into account the existence of beta version numbers? Thanks Kevin -- You received this message because you are subscribed to the Google

separate http requests between channels routing and "classic django routing

2018-03-13 Thread Kevin Tewouda
Hello, i am developing an application (a REST one) which have to serve some sse events to a web application. I saw in the latest documentation how to create an SSE consumer, but now when i create an http routing for consumers, i can't serve the others requests using the "classic django view sy

Re: separate http requests between channels routing and "classic django routing

2018-03-14 Thread Kevin Tewouda
edocs.io/en/latest/topics/routing.html#protocoltyperouter > > Andrew > > On Tue, Mar 13, 2018 at 9:20 AM, Kevin Tewouda > wrote: > >> Hello, >> i am developing an application (a REST one) which have to serve some sse >> events to a web application. I saw in the late

Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
rrently it is some sort of saving an int as str). Whats your opinion? Kind regards Kevin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to d

Re: Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
PS: After changing the field to BinaryField, read / write works beautiful. Am Dienstag, 20. März 2018 14:49:35 UTC+1 schrieb Kevin Olbrich: > > Hi, > > I just noticed a problem with varbinary fields and inspectdb. > When inspectdb processes all fields, it creates varbinary as Char

Broken?

2018-04-28 Thread Kevin O'Gorman
of the other tables. If it runs as shown here however, I get kevin@camelot-x:/build/comprosloco$ manage oiltest Traceback (most recent call last): File "./manage", line 22, in execute_from_command_line(sys.argv) File "/build/django/django/core/management/__i

Re: Broken?

2018-04-28 Thread Kevin O'Gorman
Maybe, but while the log file has undergone some migrations in the past, it has not been much, not recently, and everything is up-to-date now. 'manage makemigrations' detects nothing. So the question is how I can explore this. ++ kevin On Saturday, April 28, 2018 at 7:17:24 AM UT

Re: Broken?

2018-04-28 Thread Kevin O'Gorman
ess for a day or so. Maybe then I'll produce example code complete with test data. But I'd have to say the command is about as simple as it's gonna get. On Saturday, April 28, 2018 at 11:43:48 AM UTC-7, Kevin O'Gorman wrote: > > Maybe, but while the log file has undergone s

<    1   2   3   4   5   >