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 "d:\Pyth
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
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 django-users@
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 from
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.
Read
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:
Forbidden (403)
CSRF verificat
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 render_to_response('contact_fo
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 directory
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
Go to the joomla site and see what you think.
Bob gailer
On Aug 16, 2014 6:05 AM, "ngangsia akumbo" wrote:
> I was having an augment about learning how to code from scratch and using
> content management systems like joomla, dupal to build websites.
>
> This guy was tel
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.views.decorators.csrf import
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 to structure the dat
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 users" group.
> To unsubscrib
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 do
On 11/7/2016 8:50 AM, Larry Martell wrote:
On Mon, Nov 7, 2016 at 8:48 AM, bob gailer 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.211.133.163 is taking too lo
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"
Bo
rnal ip
Adding the ip addresses did not fix the problem.
Regards,
Andréas
2016-11-07 14:48 GMT+01:00 bob gailer <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
machines that are not on my lan.
On 7 Nov 2016, at 21:19, bob gailer <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 they work as
expect
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 p
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 exp
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 discover
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
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 prope
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 r
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 :
https://docs.djangoproject.com/en/1.9/topics/logging/
shows some
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 (py
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 to
):
question_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 h
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 subscr
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
> @require_
this to my 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 th
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 and
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 django-users+u
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, 201
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:
>
> class Reuse(models.Mo
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
reason??Can anyone help??
Check
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
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.
C:\>
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
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
sett
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
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 starte
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 here. Designing a home page
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 https://github.com/alainmuls/GNSSTracking
>
> I would like t
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 OVH.
According to the OVH web
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 it, send an email
t
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 what that information woul
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 achieve something lik
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 help?
--
You received th
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 structure
2) delete the direc
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 modeling tools. .
>
> Can you
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 makin
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 rec
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
> score int
>
> now, I want to s
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 m
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
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+unsubscr
re wish my crystal 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 com
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 a
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 us
restating 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+u
61 matches
Mail list logo