On 06/25/2015 09:49 PM, Vijay Khemlani wrote:
Are you using a ModelChoiceField?
https://docs.djangoproject.com/en/1.8/ref/forms/fields/#modelchoicefield
Or a normal ChoiceField setting the choices manually?
I am using normal Chice field and yes i'm setting up manually when I
call the form.
Installed django recently, followed the django tutorial pdf to some
where arround page 20. But got problems...
It's on ubuntu 14.04, I have ipython installed and the following command
some how brings up ipython. And it will raise exception for command
Question.objects.filter(question_text__sta
Have you tried cw_auth.models.AppUser as the value for AUTH_USER_MODEL?
-James
On Jun 25, 2015 12:45 PM, "MamEshe5minPlz" wrote:
> I'm trying to use custom User model. Created app named "cw_auth", created
> "AppUser" model in it, added module to INSTALLED_APPS and added
>
> AUTH_USER_MODEL = 'cw
Carl
Thank you very much. Great overview. Confidence boosting.
Mike
On 26/06/2015 2:57 AM, Carl Meyer wrote:
Hi Mike,
On 06/25/2015 01:53 AM, Mike Dewhirst wrote:
On 25/06/2015 2:34 AM, Carl Meyer wrote:
On 06/24/2015 02:16 AM, Mike Dewhirst wrote:
On 24/06/2015 4:43 PM, Mike Dewhirst wrot
I'm using a custom user model and a custom UserAdmin.
I try do overwrite the 'get_fieldsets' method to change some fields and
hide some others, bud django admin still uses the 'get_fieldsets' method
from django.contrib.auth.admin.UserAdmin.
My CustomUserAdmin Class:
from django.contrib.auth.ad
yes,its done
On Fri, Jun 26, 2015 at 4:55 AM, Mario Gudelj
wrote:
> Did you migrate? You don't have to manually edit your schema. Use
> migrations or south if you're using 1.6 or below.
> On 26 Jun 2015 8:41 am, "Sidh Tanna" wrote:
>
>> Its not work dear, ou have any other solution?
>>
>> On Mo
Did you migrate? You don't have to manually edit your schema. Use
migrations or south if you're using 1.6 or below.
On 26 Jun 2015 8:41 am, "Sidh Tanna" wrote:
> Its not work dear, ou have any other solution?
>
> On Monday, August 14, 2006 at 12:09:53 PM UTC+5:30, Bryan Chow wrote:
>>
>> Hi Ray,
Its not work dear, ou have any other solution?
On Monday, August 14, 2006 at 12:09:53 PM UTC+5:30, Bryan Chow wrote:
>
> Hi Ray,
>
> You can set null=True on your DateField to allow null values in the
> database. Foe example:
>
> thedate = models.DateField(null=True, blank=True)
>
> Cheers,
>
Steve,
You don't appear to be in the same folder as manage.py.
You need to change to the directory that holds your project files.
-A
On Thu, Jun 25, 2015 at 1:35 PM, Steve Burrus wrote:
> No i am sorry but python manage.py runserver doesn't work! I first tried to
> run it in a newly created vi
No i am sorry but python manage.py runserver doesn't work! I first tried to
run it in a newly created virtual environment, it failed. so I just tried
to run it in the Desktop folder but it still failed. I remember a command
which had in it "django-admin.py" that I need to type right?
"C:\Users\St
Are you using a ModelChoiceField?
https://docs.djangoproject.com/en/1.8/ref/forms/fields/#modelchoicefield
Or a normal ChoiceField setting the choices manually?
On Thu, Jun 25, 2015 at 11:28 AM, dragon wrote:
> Hi!
>
> I have a form with a choice field. I fill it from a model let's name it
> A
Hello,
Django's default handling of database transactions (ATOMIC_REQUEST=False)
surprised me and I was hoping to understand the motivation behind it, and
perhaps offer the suggestion that ATOMIC_REQUEST should be True by default.
Non-atomic requests as a default violates, in my view, the princ
On 06/25/15 18:07, Steve Burrus wrote:
> I am sorry that I hjave to ask about this, since I was recently able
> to do it, but I have to ask how do I go about going from successfully
> creating a new virtual environment to then being able to connect to
> the Django server? I have seen countless vide
I'm trying to use custom User model. Created app named "cw_auth", created
"AppUser" model in it, added module to INSTALLED_APPS and added
AUTH_USER_MODEL = 'cw_auth.AppUser'
to settings.py file. But when I'm trying to perform
./manage.py makemigrations cw_auth
I'm getting errors
Traceback (most
Hi!
I have a form with a choice field. I fill it from a model let's name it
Apples. And when I delete a row from Apples model the choice field
includes the deleted Apple after page reloading. I use this Apple choice
form another page and on that page there's the deleted Apple row too.
When I
On Thu, Jun 25, 2015 at 3:16 PM, Karim wrote:
> Hello everyone, I had to implement automatic saving on the various edit
> forms on the webapp I'm working on. The purpose is (I guess) to avoid lost
> of data if the user move from the edit page without saving first.
>
I found this:
http://www.sma
I don't think SiteProfileNotAvailable is part of Django. Can you clarify
what deprecation you are referring to?
https://docs.djangoproject.com/en/1.8/releases/1.8/#features-deprecated-in-1-8
If it's a deprecation in django-profiles itself, you might have more luck
asking for help in that projec
I am using Django-profiles 3rd party app for maintaining user profiles.
Django-profiles use *SiteProfileNotAvailable* incase
'settings.AUTH_PROFILE_MODULE' is not defined in settings.py.
But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the
alternative to SiteProfileNotAvaila
I am using Django-profiles 3rd party app for maintaining user profiles.
Django-profiles use *SiteProfileNotAvailable* incase
'settings.AUTH_PROFILE_MODULE' is not defined in settings.py.
But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the
alternative to SiteProfileNotAvaila
I am using Django-profiles 3rd party app for maintaining user profiles.
Django-profiles use *SiteProfileNotAvailable* incase
'settings.AUTH_PROFILE_MODULE' is not defined in settings.py.
But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the
alternative to SiteProfileNotAvaila
Hi Mike,
On 06/25/2015 01:53 AM, Mike Dewhirst wrote:
> On 25/06/2015 2:34 AM, Carl Meyer wrote:
>> On 06/24/2015 02:16 AM, Mike Dewhirst wrote:
>>> On 24/06/2015 4:43 PM, Mike Dewhirst wrote:
When saving a model I'm getting a TransactionManagementError - You
can't
execute queries u
I am sorry that I hjave to ask about this, since I was recently able to do
it, but I have to ask how do I go about going from successfully creating a
new virtual environment to then being able to connect to the Django server?
I have seen countless videos, on youtube, on how this is done but I si
Please refer to the Appropriate Uses For SQLite page:
https://www.sqlite.org/whentouse.html
On Thursday, 25 June 2015 16:08:32 UTC+2, Arindam sarkar wrote:
>
> i need to develop a job portal . is there any problem if i use sqlite ?
> coz i am having problem to setup mysql or postgresql . plea
On Thu, Jun 25, 2015 at 5:08 PM, Arindam sarkar
wrote:
> i need to develop a job portal . is there any problem if i use sqlite ?
> coz i am having problem to setup mysql or postgresql . please help.
sqlite was not created for big portal. Use postgresql
--
Karim N. Gorjux
--
You received
i need to develop a job portal . is there any problem if i use sqlite ? coz
i am having problem to setup mysql or postgresql . please help.
--
Regards,
Arindam
Contact no. 08732822385
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubs
OK, I sussed this. I entered "1" for the user field, the form was then
valid and the record saved to the database.
--
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
I am following the instructions for django-rest-framework-social-oauth2
at https://pypi.python.org/pypi/django-rest-framework-social-oauth2/0.0.4
When I attempt to add an application record via "Home › Oauth2_Provider ›
Applications › Add application", I get the error message "Select a valid
ch
Hello everyone, I had to implement automatic saving on the various edit
forms on the webapp I'm working on. The purpose is (I guess) to avoid lost
of data if the user move from the edit page without saving first.
I know that is a problem that concern more the client side than the server
side, but
http://lmgtfy.com/?q=openshift+django+python+3.3
(I didn't put this in the subject to keep the thread intact. Please learn
to ask before you do so)
On 25 Jun 2015 06:23, "Arindam sarkar" wrote:
>
>
> --
> Regards,
>
> Arindam
>
> Contact no. 08732822385
>
>
> --
> You received this message beca
I need to create a web page with django and html which is basically a form
and allows filtering like in excel. How can i do it?
Help will be really appreciated.
Something like in the picture shown.
--
You received this message because you are subscribed to the Google Groups
"Django users" group
ANNOUNCING
eGenix.com mxODBC
Python ODBC Database Interface
Version 3.3.3
mxODBC is our commercially supported Python extension providing
Carl
On 25/06/2015 2:34 AM, Carl Meyer wrote:
Hi Mike,
On 06/24/2015 02:16 AM, Mike Dewhirst wrote:
On 24/06/2015 4:43 PM, Mike Dewhirst wrote:
When saving a model I'm getting a TransactionManagementError - You can't
execute queries until the end of the 'atomic' block
Ticket #21540 seems fai
Any updates on this please? I am stuck with this issue for quite a while now.
--
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...@googlegr
33 matches
Mail list logo