I was able to solve this problem by removing commas from the end of lines
from my models in models.py.
On Wednesday, October 6, 2021 at 2:59:33 AM UTC-6 adeyem...@gmail.com wrote:
> Hi, can you make a snapshot of your models.py file?
>
> On Wednesday, October 6, 2021 at 7:26:24 AM UTC+2 abubak..
Hi, can you make a snapshot of your models.py file?
On Wednesday, October 6, 2021 at 7:26:24 AM UTC+2 abubak...@gmail.com wrote:
> you're facing this error because django receives nique usernames. so you
> are not allowed to create another username with the same username.
>
> On Wed, Oct 6, 2021
you're facing this error because django receives nique usernames. so you
are not allowed to create another username with the same username.
On Wed, Oct 6, 2021 at 1:36 AM Ammon Quackenbush wrote:
>
> I am setting up keycloak for a django project and this is the error I
> receive:
>
>
> Integrity
I am setting up keycloak for a django project and this is the error I
receive:
IntegrityError at /oidccallback/UNIQUE constraint failed:
auth_user.usernameRequest
Method:
GET
It looks like when I log in, keycloak tries to create my user again, even
though my user is in the database.
Also,
What is your problem exactly? What have you already done? Do you see some
errors in console?
W dniu wtorek, 24 kwietnia 2018 13:34:46 UTC+2 użytkownik Nana Kwabena
Kwarteng napisał:
>
> Hi All,
>
> I'm new here and I'm having getting my django to run... Any help?
>
--
You received this message
Hi All,
I'm new here and I'm having getting my django to run... Any help?
--
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...@googlegroups.
I will try that. I thought better IDE would simplify the learning curve.
But its true it may hide fundamental understanding with some automated
support.
On Monday, April 24, 2017 at 7:38:21 AM UTC-7, Derek wrote:
>
> I'd avoid a more complex tool like Eclipse when starting out - and try
> usin
Thank you. Its my bad that I captured the windows with 1.1. Yes I am using
1.11.
On Sunday, April 23, 2017 at 5:38:39 PM UTC-7, Vijay Khemlani wrote:
>
> I don't use Eclipse for development, but your screenshot says "Django
> version 1.1 or earlier" which is awfully old, we are at 1.11, as in
I'd avoid a more complex tool like Eclipse when starting out - and try
using a simple text editor like Atom or Sublime Text; that way you get a
much more "hands on" understanding of Django.
(Also - maybe don't MySQL when starting out & just stick to SQLite - its
fine for learning purposes)
On
I don't use Eclipse for development, but your screenshot says "Django
version 1.1 or earlier" which is awfully old, we are at 1.11, as in
there was a versions 1.2 1.3 1.4 1.5 1.11.
settings file has changed a lot since that time.
On 4/23/17, Pubudu Goonetilleke wrote:
> Hi,
> I am very new
Hi,
I am very new to web programming and trying to learn ABCs of this whole new
thing. I am following some online tutorials and facing some few things that
I am trying to understand.
first, when I create dJango (1.11) project in eclipse (Neon 3) in pyDev
(latest), I set data base information as
Andrew;
I forgot all about the process tables. Thanks. Interesting though,
systemctl and mod_wsgi both start a root instance and then fork off 3-4
www-data instances. I assume that this is normal. The python manage.py
runserver on the other hand doesn't even show up in the process table. I
On Thu, Nov 12, 2015 at 2:34 PM, Gary Roach
wrote:
> Setup for Django development system
>
> OS Debian Linux 8 (jessie) using systemd, not init.d
> Python 3.4.2
> Django 1.8.5
> Apache2 2.4.10 Debian (mmm-worker)
> mod_wsgi 4.3.0
> Postgresql 9.4.5
>
> Two virtual environments: archive (actual pr
Others on here should jump in with help with your other questions but I
think you should find the answers to your first and third by running `ps
aux | grep apache` and looking at the first column. You might also find it
enlightening to run `ps auxf | grep apache -B 2`.
On Thu, Nov 12, 2015 at 4:34
Setup for Django development system
OS Debian Linux 8 (jessie) using systemd, not init.d
Python 3.4.2
Django 1.8.5
Apache2 2.4.10 Debian (mmm-worker)
mod_wsgi 4.3.0
Postgresql 9.4.5
Two virtual environments: archive (actual project) and mysite (django
tutorial). Setup done with python3 -m venv
Hi,
I'd ask on the ibm-db list. http://groups.google.com/group/ibm_db
Collin
On Wednesday, December 3, 2014 1:40:05 PM UTC-5, 白夜 wrote:
>
> tristan@NorthStar:~/Coding/NorthStar$ python3 manage.py runserver
> Performing system checks...
>
> System check identified no issues (0 silenced).
> Unhan
tristan@NorthStar:~/Coding/NorthStar$ python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
Unhandled exception in thread started by .wrapper at 0x7fedf8b9c8c8>
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/ibm_d
i gave up and create a machine on AWS and deployed everything.
it's not that complex, u can find tutorial online .
On Sat, Jul 12, 2014 at 1:24 AM, Rob wrote:
> gmail.com> writes:
>
> >
> >
> > I'm having a similar problem - I don't see errors from the
> EB console - but django is not load
gmail.com> writes:
>
>
> I'm having a similar problem - I don't see errors from the
EB console - but django is not loaded I
still get the standard AWS EB page.I have tried editing settings.py
and app.config according to this
tutorial:http://docs.aws.amazon.com/elasticbeanstalk
/latest/dg/c
I'm having a similar problem - I don't see errors from the EB console - but
django is not loaded I still get the standard AWS EB page.
I have tried editing settings.py and app.config according to this tutorial:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_django.html
Hi,
I am following the steps here to setup django on aws...
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_django.html
I got as far as step 6 but when I "git aws.push" I never see the django "it
worked" page, only the green beanstalk page. I'm sure where I've gone wro
i give up after a while.
every time it was a mess. and AWS is free for 12 months.
i switched to appfog, which actually runs for you stuff on AWS.
quite easy to set up and put code.
basically you need the requirements.txt (as for AWS).
and change a bit the setting.py
ciao
On Thu, Nov 29, 2012 at
Did the eb update work? I ran into this same issue; seems like when
creating the first instance it works, but the second time are problems:
https://github.com/boto/boto/issues/1087
According to that thread, if you delete the WSGIPath line and then create a
new environment, you might have better
Well
i was able to play with it only right now.
there's a thing i can't understand. what's the application.py?
i've back this error
2012-10-30 14:28:42,890 [INFO] (26110 MainThread)
[directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from
script: 2012-10-30 14:28:42,875 ERR
thx.
later i try both yr suggestions. i haven;t been notified of the previous
reply.
thx
On Wednesday, October 24, 2012 12:06:13 AM UTC+2, Andrzej Winnicki wrote:
>
> Try also to change settings in .elasticbeanstalk/optionsettings.
>
>
> [aws:elasticbeanstalk:application:environment]
> DJANGO_SE
Try with python.config instead of simple .config file (this is just an file
extension, not file name). Requirements.txt should be at 'top-level
directory of your source bundle'. More info here:
http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/create_deploy_Python_custom_container.htm
Try also to change settings in .elasticbeanstalk/optionsettings.
[aws:elasticbeanstalk:application:environment]
DJANGO_SETTINGS_MODULE =
PARAM1 =
PARAM2 =
PARAM4 =
PARAM3 =
PARAM5 =
[aws:elasticbeanstalk:container:python]
WSGIPath = application.py
NumProcesses = 1
StaticFiles = /static=
Mmm. seems that i missing something.
this is the log
2012-10-12 09:36:51,352 [INFO] (24716 MainThread)
[directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output
from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of
"application.py" was not found in the source bun
same problem, did you solve it?
On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote:
>
> I'm trying without succes to setup a simple application using django with
> elastic beanstalk from my windows machine.
> Does anyone have any expreience with this? I am currently getting the
>
If you name your top-level wsgi file to "application.py", does it do any
better?
-seth
On Monday, October 8, 2012 10:22:51 AM UTC-7, shlomi oberman wrote:
>
> I'm trying without succes to setup a simple application using django with
> elastic beanstalk from my windows machine.
> Does anyo
I'm trying without succes to setup a simple application using django with
elastic beanstalk from my windows machine.
Does anyone have any expreience with this? I am currently getting the
following error from the EB console:
"Your WSGIPath refers to a file that does not exist."
--
You received
: django-users@googlegroups.com
Subject: Re: Django setup on Win7 - can't import some things
Are you sure that you don't have something like:
...
urlpatterns = patterns('polls.views',
...
instead of the empty string first argument to patterns that you show?
On 2/13/12, Bob Carls
eneric folder.
>
> Cheers, Bob
>
> -Original Message-
> From: django-users@googlegroups.com [mailto:django-users@googlegroups.com]
> On
> Behalf Of Brett Epps
> Sent: Monday, February 13, 2012 10:12
> To: django-users@googlegroups.com
> Subject: Re: Django setu
c folder.
Cheers, Bob
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Brett Epps
Sent: Monday, February 13, 2012 10:12
To: django-users@googlegroups.com
Subject: Re: Django setup on Win7 - can't import some things
Hi Bob,
It so
2012 10:12
To: django-users@googlegroups.com
Subject: Re: Django setup on Win7 - can't import some things
Hi Bob,
It sounds like you're using the 1.3 or later version of the tutorial.
Class-based generic views were added in 1.3. Try this link for the correct
version:
https://docs.djang
Hi Bob,
It sounds like you're using the 1.3 or later version of the tutorial.
Class-based generic views were added in 1.3. Try this link for the
correct version:
https://docs.djangoproject.com/en/1.2/intro/tutorial01/
(Note the 1.2 in the URL.)
Hope that helps,
Brett
On 2/13/12 10:35 AM, "L
I am trying to get started with Django and having some trouble. I'm
using Django 1.2 to reserve the ability to go to Google's app engine
if I want. I have python 2.7 installed and working on Win7. I
unstalled Django 1.2 using the install script and it copied Django
into the site-packages directory.
http://superjared.com/entry/django-and-crontab-best-friends/
--
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 to
django-users+unsubscr
you think this problem is the Django_countries?
I expected it to be in PostgreSQL.
I'll check the versions now!
Thanks
2010/10/26 Venkatraman S
>
> On Tue, Oct 26, 2010 at 5:28 PM, Nelson Saraiva wrote:
>
>> *
>> File
>> "C:\Python25\lib\site-packages\django\db\backends\postgresql_psycopg2
On Oct 12, 8:44 pm, Kenneth Gonsalves wrote:
> well, you only need to do this once - after that you can use manage.py
> from within your project. So I would not bother about this.
> --
> regards
> Kenneth Gonsalves
Oh ok, thanks for the prompt reply.
--
You received this message because you a
On Tue, 2010-10-12 at 17:13 -0700, Everett wrote:
> I recently installed Django on Windows, but I can't get the django-
> admin.py startproject to work unless I type the full path for django-
> admin.py. Do I need to add this to my System Variables? If so what do
> I put in for it? I've already tri
I recently installed Django on Windows, but I can't get the django-
admin.py startproject to work unless I type the full path for django-
admin.py. Do I need to add this to my System Variables? If so what do
I put in for it? I've already tried the path.
--
You received this message because you ar
I'm trying setup very projects in one domain with NGINX + Gunicorn,
but i have fail. I think in:
mydomain.com/projects/project1
mydomain.com/projects/project2
mydomain.com/projects/project3
Please, anyone know what I'm talking about and have a solution?
--
You received this message
On 18 August 2010 07:29, Marty wrote:
> Runing on Windows 7
> First time user of Django and Python. Got python installed at f:
> \python27, downloaded DJango tar file. Used WInRAR to extract.
> Copied all of DJANGO into Python27
You actually don't need to do that; setup.py automatically copies
On 8/17/2010 5:29 PM, Marty wrote:
> Runing on Windows 7
> First time user of Django and Python. Got python installed at f:
> \python27, downloaded DJango tar file. Used WInRAR to extract.
> Copied all of DJANGO into Python27
>
> Ran python setup.py install
>
> Tutorial one says:
>
>>From the
On 8/17/2010 5:29 PM, Marty wrote:
> Runing on Windows 7
> First time user of Django and Python. Got python installed at f:
> \python27, downloaded DJango tar file. Used WInRAR to extract.
> Copied all of DJANGO into Python27
>
> Ran python setup.py install
>
> Tutorial one says:
>
>>From the
django-admin.py is usually located in the bin directory of the django
source. You can use it from there but you need to also say:
python django-admin.py startproject mysite
You must use the python interpreter in order to run a .py file. Hope
that helps.
On Aug 17, 10:29 pm, Marty wrote:
> Ru
Runing on Windows 7
First time user of Django and Python. Got python installed at f:
\python27, downloaded DJango tar file. Used WInRAR to extract.
Copied all of DJANGO into Python27
Ran python setup.py install
Tutorial one says:
>From the command line, cd into a directory where you’d like to
Hello,
We are a Django shop that built some setup tools to use internally.
It saves us tuns of time every week. We FOSS-ified it last week an
would love to have some feedback.
http://blingnode.com/ , hosted at bitbucket.
Here are some features:
* Instant Django virtual env setup
* Ru
On Aug 12, 12:13 am, justin jools wrote:
> Ive been the install instructions in
> :http://wiki.thinkhole.org/howto:django_on_windows%E2%80%8F
> (with mod_wsgi)
>
> install python 26, Apache 2.2, modwsgi ap2.2 py26
>
> and apache loads modwsgi fine.
>
> when I check localhost: apache says - It
Do you using a windows ou linux?
if it's linux, try:
create a dir: /home/user/django and put your project inside it and
create a file called mysite.wsgi in same dir containing:
import os, sys
sys.path.append('/usr/lib/python2.6/site-packages/django/')
sys.path.append('/home/user/myproject')
os.e
Ive been the install instructions in :
http://wiki.thinkhole.org/howto:django_on_windows%E2%80%8F
(with mod_wsgi)
install python 26, Apache 2.2, modwsgi ap2.2 py26
and apache loads modwsgi fine.
when I check localhost: apache says - It works!
when I check 127.0.0.1:8000: Django says - It worke
In ubuntu, you'll need to install mysqldb package for python:
sudo apt-get install python-mysqldb
test by entering python interactive mode and importing the package
without errors:
$ python
$ import MySQLdb
case matters.
On Mar 10, 5:09 am, Karen Tracey wrote:
> On Tue, Mar 10, 2009 at 1:54
On Tue, Mar 10, 2009 at 1:54 AM, kk wrote:
>
> Hi Karen,
>
> I'm having the same problem as ches and brita had. I downloaded the
> link that you have given, but I'm unable to run as it is an
> application. If you can guide me where to store that application and
> how to run that, I will be glad.
Hi Karen,
I'm having the same problem as ches and brita had. I downloaded the
link that you have given, but I'm unable to run as it is an
application. If you can guide me where to store that application and
how to run that, I will be glad. Also, for the DATABASEHOST in
settings do we need to giv
Thanks Karen, I tried the module and it works well. Now I can use
mysql as the database.
Thanks alot.
On Mar 6, 11:16 pm, bitra wrote:
> Thanks Karen,
> oops, I forgot to mention, yes I'm using Windows and had the same "No
> module named Mysqldb" error message...
>
> I'm checking the link you ga
Thanks Karen,
oops, I forgot to mention, yes I'm using Windows and had the same "No
module named Mysqldb" error message...
I'm checking the link you gave and I'll try it out.
Thanks again. :)
On Mar 6, 11:05 pm, Karen Tracey wrote:
> On Fri, Mar 6, 2009 at 10:54 AM, bitra wrote:
>
> > Hi, I
On Fri, Mar 6, 2009 at 10:54 AM, bitra wrote:
>
> Hi, I had the same problem with ches. I install mysql with Django
> 1.0.2 and given the same error message, but I was using Python 2.5.2.
> Do I have to install mysqldb module for this Python version?
>
Yes. You have to install a mysqldb built a
Hi, I had the same problem with ches. I install mysql with Django
1.0.2 and given the same error message, but I was using Python 2.5.2.
Do I have to install mysqldb module for this Python version?
thanks,
On Mar 1, 6:18 am, AKK wrote:
> If you have windows you may want to try this version
>
>
Hi All
I apologise for posting a wrong answer , thanks karen for correcting
it
btw is it also applicable on linux I have been searching for MySQLdb
for python 2.6 on linux and could not find it
Thanks
Vemu
On Mar 2, 10:34 pm, Karen Tracey wrote:
> On Mon, Mar 2, 2009 at 12:03 PM, bvemu wrote
On Mon, Mar 2, 2009 at 12:03 PM, bvemu wrote:
>
> Hi Ches
>
> The issue is that you are using python version 2.6 for which there is
> no support from the MySQLdb package
This is not true. A pointer to a binary of MySQLdb for Python 2.6 on
Windows was posted a while ago, AKK referred to it ea
Hi Ches
The issue is that you are using python version 2.6 for which there is
no support from the MySQLdb package
so you have to downgrade your python version to 2.5.4 and let your
PYTHONPATH point to that (for example I am using SLE 11.1 henceforth
placed the bin of python 2.5.4 in my /home/s
try with
python manage.py syncdb
instead of
manage.py syncdb
On 28 feb, 09:23, ches wrote:
> Dear All,
> I have install Python2.6,Django 1.0.2, I'm sure it is installed
> ok,since there is no errors on "import django" from the
> interpreter,however when executing syncdb, I got:
>
> C:\Dja
If you have windows you may want to try this version
http://groups.google.com/group/django-users/msg/5b5f4dee148d0fc3
There wasn't an mysqldb module exe version available for python 2.6
when i looked a few weeks ago.
I installed that and its worked fine.
Andrew
On 28 Feb, 14:23, ches wrote:
>
As the error message already says: Your missing the MySQLdb module.
Depending on your system you should be looking for something like a
py26-mysql or python-mysql package or install it manually yourself :-)
-- Horst
On Sat, Feb 28, 2009 at 3:23 PM, ches wrote:
> Dear All,
> I have install Pytho
Dear All,
I have install Python2.6,Django 1.0.2, I'm sure it is installed
ok,since there is no errors on "import django" from the
interpreter,however when executing syncdb, I got:
C:\Django\projects\documenti>manage.py syncdb
Traceback (most recent call last):
File "C:\Django\projects\documenti
No. It’s the Python import path. Namely what you do for “import
path.settings” when in the Python shell. There should be a partial OS
path in your PythonPath setting that fills in the rest.
On Jun 27, 2008, at 9:38 AM, nerdydork wrote:
> Question on apache setup using mod_python, the documen
Thanks guys, I got this part working now.
-
Cheers,
Gorm
Tel: (+45) 31 12 78 44
Co-Founder of 3 Lives Left
Blog: http://www.lai.as/index.php
On Thu, 2008-06-26 at 13:27 -0700, phillc wrote:
>
> your urls is setup for
> http://yourdomain.com/login/...
> not http://yourdomain.com/somm
Question on apache setup using mod_python, the documentation states "…
and replace mysite.settings with the Python import path to your Django
project’s settings file." <-- would this be the full path to the
settings.py file?
I tried this and all I'm getting is a blank page - for every URL I
enter
your urls is setup for
http://yourdomain.com/login/...
not http://yourdomain.com/sommerspil/login
On Jun 26, 11:46 am, Peter Rowell <[EMAIL PROTECTED]> wrote:
> You didn't share with us the specific error you are getting.
>
> I strongly recommend a) DEBUG=True in settings.py, and b) checking
> y
You didn't share with us the specific error you are getting.
I strongly recommend a) DEBUG=True in settings.py, and b) checking
your Apache error_log.
If you are getting a generic Apache 404, then the problem will be in
the Apache httpd.conf or .htaccess files. If you are getting a Django
404, t
Hi all,
I have a weird problem hitting the methods matched through urls.py.
My setup works through when I just set it up manually using
python manage.py runserver 0.0.0.0:8000 etc, but not when using apache
The path to the the application
is /home/dradmin/wwwroot/php/drmu/sommerspil
I have ver
my system is japanese winxp sp2 and python2.5
i checkout the r3936 form svn and run "setup.py install", but meet the
strange thing: all the file under the folder '''django''' do not be
copied to site-packages, where only one file created:
Django-0.95-py2.5.egg-info!
i browse the source of setup.
73 matches
Mail list logo