Re:

2019-11-20 Thread Bob Gailer
ng your question or give us an example of what you're trying to do. Bob Gailer -- 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 django-users+unsubscr...

Re: how to login to Django

2019-11-05 Thread Bob Gailer
Please always provide a subject in your email. Your question unfortunately is vague could you flesh it out with more detail? On Nov 5, 2019 8:00 AM, "Suraj Thapa FC" wrote: Send it then On Tue, 5 Nov 2019, 5:38 pm Paras Jain, wrote: > on hitting submit i have to send email and password to

Re: backend for Arduino

2019-11-05 Thread Bob Gailer
Google hotbot Arduino. On Nov 5, 2019 8:02 AM, "Pranjul Kimothi" wrote: > How Can I use Django as backend for an Arduino application .?? Any > suggestions > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

Re:

2019-06-25 Thread Bob Gailer
Oh goodie. When will they be delivered? On Jun 25, 2019 2:53 AM, "Benjamin SOULAS" wrote: > -- > 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

Re: AutoField

2019-05-26 Thread Bob Gailer
On May 26, 2019 8:16 PM, "Saeed Pooladzadeh" wrote: > > > Hi > > When I add this line in my model: > > eid=models.AutoField() > > I see error in my migration!! > > What is the problem? > > I don't know what your problem is but our problem is that we have no idea what error you got. Please copy

Re: Working with Databases

2019-05-26 Thread Bob Gailer
mobile phone it's hard to refer back to your original email. So I will end here and perhaps write more later. Thank you for starting this discussion. Please let me know your thoughts regarding my comments. Bob gailer -- You received this message because you are subscribed to the Google Groups

Re: TypeError

2019-05-22 Thread Bob Gailer
On May 22, 2019 6:09 AM, "Soumen Khatua" wrote: > > Hi Folks, > > I'm getting this error "TypeError:" everytime, Can You guys tell me where is the problem in this code. it would help us a lot if you would copy the entire traceback and paste it into an email reply. > Cart > > views.py >

Re: ML-Python

2019-03-13 Thread Bob Gailer
On Mar 13, 2019 7:44 AM, "Hafit Omar" wrote: > > Hi Everyone I'm Hafit from Libya, > Can anyone help me in in sklearn library I want to import cross_validation it doesn't work Please be more specific. What is the evidence that it doesn't work? -- You received this message because you are

Re: Problems with first program

2019-02-28 Thread bob gailer
stion_text = models.CharField(max_length=200) Your copy of that file is different. Statement that end in : must be followed by at least one indented line. These are known as "compound statements" (if, elif, else, while, for, try, except, finally, with). -- Bob Gailer --- This email has been

Re: looking for team members as my technical Advisory

2019-02-22 Thread Bob Gailer
Sounds interesting. Tell me more. On Feb 22, 2019 5:02 AM, "Nura Bash" wrote: > Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am > looking for Technical advisory members for my project which am about to > start here in West Africa, is a plot project from 10 selected schools

Re: beginner

2019-02-01 Thread Bob Gailer
I would be glad to give mentoring a shot. Send me your questions. If we enjoy working with each other then we'd need to negotiate some kind of payment for my services. Bob Gailer On Jan 31, 2019 4:36 PM, "Emmanuel klutse" wrote: > I want to be one of the best in the field (python

Re: Error

2019-01-02 Thread Bob Gailer
tal ball ball was working. If I ran that code I would get an error reporting unknown name Chapters. So give us enough so that we could at least get started. If you got a trace back please copy and paste the entire traceback. If you included an attachment it did not come through. Bob

Re: New to this list question

2018-11-23 Thread Bob Gailer
it is to be not fully read. Could you give us a 10,000 foot overview? Bob Gailer -- 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 django-users+unsub

Re: Toby McGuire

2018-11-12 Thread Bob Gailer
On Nov 12, 2018 12:05 PM, "toby mac" wrote: > > Im a newbie to this. Used to program on COBOl, Fortran and 370 assembler, plus many others Welcome to A Whole New World. How can we help you? Bob Gailer -- You received this message because you are subscribed to the Google Group

Re: Django object to json

2018-07-07 Thread Bob Gailer
On Jul 7, 2018 7:42 AM, "Kamal Sharma" wrote: > > hi, > > I am facing a problem to get data from database in form of JSON. > > data = model.objects.all() > > now i have a big list in data and want to convert it into JSON. > how can i do it. import json json_biglist = json.dumps(biglist) Django

Re: Html Page rendered when i hit this below url instead of json objects

2017-09-29 Thread Bob Gailer
On Sep 28, 2017 7:31 AM, "Rakhee Menon" wrote: > > Hi Everyone, > > When i hit the url localhost:8000/forms it gives a html page and on the other hand when i do it through the django admin ie > > localhost:8000/admin/forms it gives me the result...What can be the

Re: count the selected chechboxes in multipleselectfield

2017-07-05 Thread Bob Gailer
On Jul 5, 2017 6:55 AM, "elloy" wrote: > > I need your help with a problem I'm trying to solve > I'm making a questionnaire and I have to count the selected choices that the user have checked in a certain question with 5 possible answers(choices) > The model I'm using is: >

Re: Does anyone in this group hire out to update code .

2017-04-12 Thread Bob Gailer
I'd be glad to take a look at the Django code. That way I could tell if I have the expertise to help you , and yes, I am available for hire. If you would give me access in some form to the Django modules and your requirements I will let you know what I can do, and my cost estimate. On Apr 11,

Re: where does logging configuration go?

2016-11-26 Thread bob gailer
On 11/26/2016 9:02 AM, ludovic coues wrote: the settings.py file of your project Thank you. Is that documented anywhere? I followed various links; none of which pointed me to that. 2016-11-25 23:15 GMT+01:00 bob gailer <bgai...@gmail.com>: https://docs.djangoproject.com/en/1.9/

where does logging configuration go?

2016-11-25 Thread bob gailer
https://docs.djangoproject.com/en/1.9/topics/logging/ shows some logging configurations, but does not tell me where to put them. Where would you suggest? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

question re built-in server

2016-11-25 Thread bob gailer
Sometimes requests get displayed at the console, other times they do not. Example: (myproject) C:\Users\bgailer\mysite>manage.py runserver 0.0.0.0:8000 Performing system checks... System check identified no issues (0 silenced). You have 1 unapplied migration(s). Your project may not work

What is meaning of '[::1]'?

2016-11-20 Thread bob gailer
From https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-ALLOWED_HOSTS: "When DEBUG is |True| and |ALLOWED_HOSTS| is empty, the host is validated against |['localhost', '127.0.0.1', '[::1]']|." What is meaning of '[::1]'? -- You received this message because you are subscribed

how to run django under apache on windows 10

2016-11-18 Thread bob gailer
Goal: run django under apache on windows 10. I have tried many things, none of which have worked. Errror messages up to wazoo. Google has not been my friend: I found a lot of articles Everything I read is either oriented to linux and/or assumes knowledge I don't have. Example: today I

Basic configuration for running under Apache

2016-11-14 Thread bob gailer
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/ This page offers: WSGIScriptAlias //path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py I am puzzled by the .com in the example. Can you

Re: External access

2016-11-09 Thread bob gailer
Here is an update on my situation. Windows firewall - I setup in and outbound rules for port 8000 (UDP and TCP) Router - I set up port forwarding for port 8000 (UDP and TCP) Using example code in the socket module documentation I ram socket_client and socket_server on my local machine with the

Re: External access

2016-11-07 Thread bob gailer
machines that are not on my lan. On 7 Nov 2016, at 21:19, bob gailer <bgai...@gmail.com <mailto:bgai...@gmail.com>> wrote: On 11/7/2016 8:51 AM, GMail wrote: Hi! Seems like port forwarding doesn't work correctly. Do you have any other ports forwarded (like ssh or ftp)? If so, do t

Re: External access

2016-11-07 Thread bob gailer
resses did not fix the problem. Regards, Andréas 2016-11-07 14:48 GMT+01:00 bob gailer <bgai...@gmail.com <mailto:bgai...@gmail.com>>: I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip add

Re: External access

2016-11-07 Thread bob gailer
On 11/7/2016 8:51 AM, GMail wrote: Hi! Seems like port forwarding doesn't work correctly. Do you have any other ports forwarded (like ssh or ftp)? If so, do they work as expected? What is this command's output: telnet 8000 Sorry but I'm running Windows 10 which does not recognize "telnet"

Re: External access

2016-11-07 Thread bob gailer
On 11/7/2016 8:50 AM, Larry Martell wrote: On Mon, Nov 7, 2016 at 8:48 AM, bob gailer <bgai...@gmail.com> wrote: I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip address I get "The server at 24.

External access

2016-11-07 Thread bob gailer
I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip address I get "The server at 24.211.133.163 is taking too long to respond." I have port 8000 forwarded to my server computer in my router. What more do I need to

Re: Need help with a hostel management system project using django

2016-10-30 Thread Bob Gailer
On Oct 30, 2016 9:53 AM, "YOGITHA A N" wrote: > > I am beginner in django please help me out with my project To help us help you be more specific. What kind of help do you need? > > -- > You received this message because you are subscribed to the Google Groups "Django

Re: Newbie question - data structure for game

2016-10-29 Thread Bob Gailer
On Oct 28, 2016 7:59 PM, "Ken Albright" wrote: > > I'm just learning Python and Django so please be gentle... > > I've written a quote decryption game (like you see in the newspaper) in Python. I'd like to put it on a web page with Django. However, I'm not sure of the best way

Re: a question about redis cache

2016-04-10 Thread Bob Gailer
Why not just use Redit? On Apr 10, 2016 8:38 AM, "Xin Liu" wrote: > > Let's look at the following scenario: > A website has 1 player, to make question easier, I use mysql storage player with just one table: "player_table" > --table here- > name string >

Django on Codenmvy

2016-04-09 Thread bob gailer
I am new to Codenvy. Do you have any experience with Codenvy / Django? I could use some help. I will post questions if I hear from an experienced user. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Multiple values to Django

2016-04-03 Thread bob gailer
like (I don't know the precise syntax) |ctr = ctr + 1; field = $("#name").clone(); field['id']="name"+ctr; ?? not sure if this is the way to set the ID field.appendTo("#food-container"); ditto for the other 2 fields. While you are at it how about making an array of t

Re: Django Model design

2016-03-27 Thread Bob Gailer
On Mar 27, 2016 9:41 AM, "Paria Parsamanesh" wrote: > > Hi , > I am new to Django and python and I want to connect to cloudera metadata database (postgre. ) > I have background in java, and db2, to design java model classes , we used logical data model and create UML

Re: DJANGO TUTORIAL

2016-03-22 Thread Bob Gailer
On Mar 21, 2016 7:24 PM, "Anthony W Smith" wrote: > > When I follow django tutorial on the django site for the polls app I keep getting the error after runnig the python manage.py runserver command it says no modsule named my site. You could 1) show us your directory

Re: Model or Form class

2016-03-10 Thread Bob Gailer
On Mar 10, 2016 9:01 PM, "Denis Makarov" wrote: > > Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Models define tables in a database. Forms assist in creating HTML forms for gathering, valididating and saving user input. Does that

Re: execute python through ajax

2016-03-09 Thread Bob Gailer
On Mar 9, 2016 9:22 AM, "Florian Hoedt" wrote: > > Hello Django users, > I would like to execute some python code by JS. For example if somebody clicks on a openlayers map it should execute a python based query and get the result as JSON to render it on the map. > How would I

Re: Python on the web

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote: > > Hey, > > Need a simple python script put into a website. It uses the requests module. > > $20? Any takers? Strictly speaking this isn't the place to buy services. Also we would need a lot more information. Can you guess

Re: Single Page Application in Django

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 7:04 AM, "Avraham Serour" wrote: > > DRF I'll bite - what is DRF? Google does not help with that. -- 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

Re: Django OVH

2016-03-04 Thread Bob Gailer
On Mar 4, 2016 5:09 PM, "Cedric Vallee" wrote: > > To whom it may concern, > > I followed my friends' advice and coded a website in Django, but now it seems virtually impossible to find documentation about how to host a Django website on 'classic' hosting servers like

Re: Integrate appliction into Django

2016-02-28 Thread Bob Gailer
On Feb 28, 2016 7:50 AM, "Alain Muls" wrote: > > Hi All, > > I made a program that creates 4 plots and text files about the location of GNSS (Global Navigation Satellite Systems) based on TLEs downloaded from NORAD. > You can find it at

Re: Home Page

2016-02-23 Thread Bob Gailer
On Feb 23, 2016 7:59 AM, "Malik Rumi" wrote: > > Why is there so little information in the docs Documentation evolves. User input helps that process. Perhaps you can make a contribution as you learn. about how to build a home page I'm not sure what you're looking for

no module named ...

2016-02-21 Thread bob gailer
Following the tutorial I created projectmysite and the polls app. Everything is fine. I then started another app, tma, ran server and everything is fine. Then I added url(r'^ tma/', include(' tma.urls')),to mysite/urls.py Now when I runserver I get: Unhandled exception in thread

Re: problem with DJANGO_SETTINGS_MODULE

2016-02-20 Thread bob gailer
On 2/19/2016 1:25 PM, bob gailer wrote: After several days of running my server with no problem I am suddenly confronted with: "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the enviro

problem with DJANGO_SETTINGS_MODULE

2016-02-19 Thread bob gailer
After several days of running my server with no problem I am suddenly confronted with: "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call

Re: How to install on windows?

2016-02-16 Thread bob gailer
with python35 and now I am making good progress. Thanks for the nudge. 3. Continue with https://docs.djangoproject.com/en/1.9/howto/windows/ Good luck and welcome! On 15/02/2016 11:48 AM, bob gailer wrote: I tried following the instructions at https://docs.djangoproject.com/en/1.9/howto/windows

How to install on windows?

2016-02-14 Thread bob gailer
I tried following the instructions at https://docs.djangoproject.com/en/1.9/howto/windows/. I installed Python in C:\python35. After that most things didn't seems to work as promised. Python 3.5 does not appear in the PATH. (Python 3.3 is there.) Yes I checked |Add Python 3.5 to PATH.

Re: I want to make todo List

2015-09-26 Thread Bob Gailer
That's a noble objective. To help us help you please be more specific and detailed. I assume since you are communicating with the Django list that you want a web app that will give the user a place where he can enter edit/delete etc search for to do activities and a place on the cloud to store the

Re: cms web buyilding

2014-08-16 Thread Bob Gailer
Go to the joomla site and see what you think. Bob gailer On Aug 16, 2014 6:05 AM, "ngangsia akumbo" <ngang...@gmail.com> wrote: > I was having an augment about learning how to code from scratch and using > content management systems like joomla, dupal to build websites. &g

Re: csrf question

2014-05-15 Thread Bob Gailer
On May 15, 2014 2:36 AM, "G Z" wrote: > > So I read the documentation on passing csrf tokens, however its giving me an issue i think its because im trying to pass it as a dictonary variable with my form and customers. > > This is from the documentation > > from

django-registration

2011-08-06 Thread bob gailer
I indstalled django-regstration per the Quick-Start guide: easy_install -Z django-registration manage.py syncdb I added 'registration', to INSTALLED_APPS = () and ACCOUNT_ACTIVATION_DAYS = 7 I added (r'^accounts/', include('registration.backends.default.urls')), tp my urls.py At this point I

Problem with django book in Forms chapter 7

2011-08-06 Thread bob gailer
I love the django book. Until I got to the section "Tying Your First Form Class". Problem:-"This class can live anywhere you want — including directly in your views.py file — but community convention is to keep Form classes in a separate file called forms.py. Create this file in the same

Re: django-registration - stuck at Required templates topic

2011-08-05 Thread bob gailer
I have stumbled around following various pieces of advice: added to views: from django.core.context_processors import csrf modified views to end with: form = ContactForm() c = {} c.update(csrf(request)) c['form'] = form return

Re: django-registration - stuck at Required templates topic

2011-08-04 Thread bob gailer
On Aug 4, 11:47 pm, Mario Gudelj wrote: > Hey Bob, > > You can download some basic templates for this > pagehttp://devdoodles.wordpress.com/2009/02/16/user-authentication-with-d... OK - did that - now what? I can get the login form displayed - when I click get:

django-registration - stuck at Required templates topic

2011-08-04 Thread bob gailer
I followed the installation & configuration of django-registration up to the start of the Required templates topic. After that I am very lost. "In the default setup, you will need to create several templates required by django-registration" I have little idea what to do or where to do it.

Re: No module named servers.basehttp

2011-08-02 Thread bob gailer
I ran checkdsk, ensured no remnants of the original install were around, reinstalled django now it all works. -- 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

Re: Unknown command: 'startproject'

2011-08-02 Thread bob gailer
Thank all of you for your responses. I ran checkdsk, ensured no remnants of the original install were around, reinstalled django now it all works. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Unknown command: 'startproject'

2011-08-01 Thread bob gailer
I am a VERY frustrated Django newbie. I can get so far in a tutorial, only to run into a roadblock. (several of them). Today I decided to start over from scratch. Now I can't get past django-admin.py startproject mysite. get Unknown command: 'startproject'. This worked the previous times. What am

No module named servers.basehttp

2011-07-29 Thread bob gailer
I am following the tutorial. runserver ran fine until I added the admin feature. Now I enter D:\Python26\Lib\site-packages\django>d:\Python26\python mysite/manage.py runserver Traceback (most recent call last): File "mysite/manage.py", line 14, in execute_manager(settings) File