references.
Kindly help me to sort out this error.
Error:
kwargs["port"] = int(settings_dict["PORT"])
^^^^^^
ValueError: invalid literal for int() with base 10:
'127.0.0.1:3306'
As the error message clearly states, the
Hi Guys ,
I have posted the problem I am facing on StackOverflow. Please help me I am
a beginner at
Django. The link is below:
https://stackoverflow.com/questions/72458041/getting-valueerror-field-id-expected-a-number-but-got-favicon-ico
Thanks,
Rishabh
--
You received this message because
On 03/03/2022 04.04, Suresh_Chilukuri wrote:
Hi All,please find below images for the "ValueError: Field 'id' expected
a number but got ' ' " as the error.
I am expecting quick response from you guys
You cannot expect a quick response or even a response at all
x27;ll dig into admin.pyMike--(Unsigned mail from my phone)
Original message From: David Nugent Date:
2/10/21 12:31 (GMT+10:00) To: django-users@googlegroups.com Subject: Re:
Strange ValueError in Safari on iOS I have some doubt the admin css is related.
The css file should
- or at least
without error - in other browsers.Mike--(Unsigned mail from my phone)
Original message From: David Nugent Date:
2/10/21 12:31 (GMT+10:00) To: django-users@googlegroups.com Subject: Re:
Strange ValueError in Safari on iOS I have some doubt the admin css is related
ozilla Firefox or Google Chrome so I'm
> guessing it is something to do with Apple and treatment of trailing
> slashes.
>
> my setting is APPEND_SLASH = True which was set after much trial and
> error long ago so I'm not keen to try and remember all that experiment
>
ASH = True which was set after much trial and
error long ago so I'm not keen to try and remember all that experiment
with it again.
Thanks for any help
Cheers
Mike
ValueError at /admin/chemical/chemical/29/img/icon-yes.svg/change/
Field 'id' expected a number but got '29
kindly add the screenshort to enable me see your model
On Thursday, July 1, 2021 at 10:58:40 PM UTC+1 abeer.e...@gmail.com wrote:
> Hi Waqar,
>
> Could you add your models.py and a screenshot or copy of the error you are
> observing?
>
> Thanks!
>
> On Thu, Jul 1, 2021 at 5:31 PM waqar khan wro
Hi Waqar,
Could you add your models.py and a screenshot or copy of the error you are
observing?
Thanks!
On Thu, Jul 1, 2021 at 5:31 PM waqar khan wrote:
> I have create model class and run success fully
> But Issues add field like stufees ,
> stufess=models.FloatField(),
> right value default
I have create model class and run success fully
But Issues add field like stufees ,
stufess=models.FloatField(),
right value default ,
as soon as reply me
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop r
https://stackoverflow.com/questions/26829435/collectstatic-command-fails-when-whitenoise-is-enabled
On Wed, 9 Jun 2021 at 01:55, Lloyd Mawira wrote:
> I am getting this error after running python manage.py collectstatic.
> Someone help please.
>
> ValueError: The file 'css/w
I am getting this error after running python manage.py collectstatic.
Someone help please.
ValueError: The file 'css/webfonts/fa-brands-400.eot' could not be found
with .
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hello,
This error is raised when I run a migration allowing me to fill in the bd.
To try to resolve the error, I formatted the User object as a *SimpleLazyObject
*because I found that this is the type of object returned by the
*self.request.user* instance in a view.
Here is the model from which I
Hello,
This error is raised when I run a migration allowing me to fill in the bd.
To try to resolve the error, I formatted the User object as a *SimpleLazyObject
*because I found that this is the type of object returned by the
*self.request.user* instance in a view.
Here is the model from which I f
Thank you in advance for your solution
Le sam. 12 déc. 2020 à 07:51, Anselme Gildas Tchassem Boutchouang <
tbago...@gmail.com> a écrit :
> Hello,
> This error is raised when I run a migration allowing me to fill in the bd.
> To try to resolve the error, I formatted the User object as a
> *Simple
Hello, i am getting a value error (from ..accounts.models import User.
ValueError: attempted relative import beyond top-level package) while
trying to import my custom user model, i have read through some post
suggesting i create a root folder for my project, I would like to know if
that
Another problem now..
I don't know why,
in local
localhost:8000/sitemap.xml will generate sitemap.xml.
But on heroku,
domain/sitemap.xml will error h13.
Any suggestions?
Thanks.
On Wed, Sep 9, 2020 at 11:31 AM hans alexander wrote:
> Thanks guys.. Already solved it.
> I guess the main reason
Thanks guys.. Already solved it.
I guess the main reason of the problem is that I'm using Pycharm Community
Edition.
So the alert error not accurate.
Anyway I tried to py manage.py with some alerts, and worked.
for example:
[image: image.png]
I left it like that. And sitemap still works.
But now
I did this long time ago and here is what i did...
in settings.py
SITE_ID = 1
# Application definition
INSTALLED_APPS = [
# ...
'django.contrib.sites',
'django.contrib.sitemaps',
]
run migration i.e.
>>> py manage.py migrateOR python manage.py migrate
aft
I followed a tutorial for creating django sitemap, but still got problems
along the way.
I've seen some videos, but didn't work.
Do you have any references for easy way creating django sitemap for blog
posts?
Sure it would help.
Thanks
On Wed, Sep 9, 2020 at 12:02 AM coolguy
wrote:
> Not sure
Not sure why you are importing this into your main project urls.py but its
very straight forward
from blog.sitemaps import BlogPostsSitemap
question... are you trying to map the application url here? then you should
use path('/' , Include("blog.urls"))
On Tuesday, September 8, 2020 at 4
Sorry, point no 1 needs to be revised..
1. In urls.py, I want to import BlogPostsSitemap
--
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...
then I got an error "ValueError: attempted relative import beyond
top-level package" when I ran the server.
Is anyone here got the solution? Or maybe some references how to
create sitemap on django?
Thanks.
--
You received this message because you are subscribed to the Google Groups
a button on the detailed
> view, when clicked i want it to take some of the information on the
> detailed view and save it in the* rent *model… But i am getting a
> ValueError (Cannot query "testuser1": Must be "Listing" instance). But i
> also need to store the driver(
available and a detailView for each car, i have a button on the detailed
view, when clicked i want it to take some of the information on the
detailed view and save it in the* rent *model… But i am getting a
ValueError (Cannot query "testuser1": Must be "Listing" instance). But i
al
and
a detailView for each car, i have a button on the detailed view, when
clicked i want it to take some of the information on the detailed view and
save it in the* rent *model… But i am getting a ValueError (Cannot query
"testuser1": Must be "Listing" instance). But i also need
css
>> folders have to be put into the root directory? Or would a path in the
>> settings need to be altered to allow the static folder to actually register
>> with the system?
>>
>> On Mon, Aug 31, 2020 at 1:11 AM RANGA BHARATH JINKA <
>> bharathjink...
bharathjink...@gmail.com> wrote:
>
>> Hi,
>>
>> Please check this.
>>
>> https://stackoverflow.com/questions/44160666/valueerror-missing-staticfiles-manifest-entry-for-favicon-ico
>>
>> On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit
this.
>
> https://stackoverflow.com/questions/44160666/valueerror-missing-staticfiles-manifest-entry-for-favicon-ico
>
> On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit <
> thelegendofearthretu...@gmail.com> wrote:
>
>> Hello all,
>>
>> Does anyone know how t
Hi,
Please check this.
https://stackoverflow.com/questions/44160666/valueerror-missing-staticfiles-manifest-entry-for-favicon-ico
On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit <
thelegendofearthretu...@gmail.com> wrote:
> Hello all,
>
> Does anyone know how to add a manif
Hello all,
Does anyone know how to add a manifest entry for a staticfile? I have used:
*> python manage.py collectstatic --noinput *
>From this I got the "*staticfiles"* folder. However, when I perform a
logging on the website, this 505 error appears:
*> raise
Can anyone help with this please?
File "/var/www/train/train/urls.py", line 49, in
re_path(r'^admin/filebrowser/', fbsite.urls),
File "/usr/local/lib/python3.6/dist-packages/django/urls/conf.py",
line 61, in _path
urlconf_module, app_name, namespace
>> "/home/lenovo/.local/lib/python3.7/site-packages/django/db/models/sql/compiler.py"
>>> , line 1335, in as_sql
>>> for obj in self.query.objs
>>> File
>>> "/home/lenovo/.local/lib/python3.7/site-packages/django/db/models/sql/compiler.
ery.objs
>> File
>> "/home/lenovo/.local/lib/python3.7/site-packages/django/db/models/sql/compiler.py"
>> , line 1334, in
>> [self.prepare_value(field, self.pre_save_val(field, obj)) for field
>> in fields]
>> File
>> "/home/lenovo/.local/lib/python3.7/s
ields]
> File
> "/home/lenovo/.local/lib/python3.7/site-packages/django/db/models/sql/compiler.py"
> , line 1275, in prepare_value
> value = field.get_db_prep_save(value, connection=self.connection)
> File
> "/home/lenovo/.local/lib/python3.7/site-packages/d
:\IndianMarketAnalysis\ISMA\Analysis\models.py", line 7, in
>>> date_list
>>> with connection.cursor() as cursor:
>>> File "c:\python38\lib\site-packages\django\utils\asyncio.py", line 19,
>>> in inner
>>> event_loop =
ine 19,
>> in inner
>> event_loop = asyncio.get_event_loop()
>> File "c:\python38\lib\asyncio\events.py", line 636, in get_event_loop
>> self.set_event_loop(self.new_event_loop())
>> File "c:\python38\lib\asyncio\events.py", line 6
ction.cursor() as cursor:
> File "c:\python38\lib\site-packages\django\utils\asyncio.py", line 19,
> in inner
> event_loop = asyncio.get_event_loop()
> File "c:\python38\lib\asyncio\events.py", line 636, in get_event_loop
> self.set_event_loop
On 06/02/2020 13.02, shubham joshi wrote:
https://github.com/shubham1507/TiffinApp/tree/development
https://stackoverflow.com/help/how-to-ask
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving e
https://github.com/shubham1507/TiffinApp/tree/development
--
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.com.
To view this
ell Species model located.
>
>
>
>
>
>
> On Mon, Dec 30, 2019, 19:31 Muhammad Tariq > wrote:
>
>> I am new to Django facing this error while saving data into DB:
>>
>> "ValueError at /breedingRecApp/pairing
>> Cannot assign "":
>
Hi Issuer,
As error warning, we don't see any male_mutation in Mutation model when
Pair.male_mutation reference to. As well Species model located.
On Mon, Dec 30, 2019, 19:31 Muhammad Tariq wrote:
> I am new to Django facing this error while saving data into DB:
>
>
I am new to Django facing this error while saving data into DB:
"ValueError at /breedingRecApp/pairing
Cannot assign "":
"Pair.male_mutation" must be a "Mutation" instance."
I've 4 foreign keys in Pair model each with specific reason/purposes. w
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/products/
Django Version: 2.1
Python Version: 3.7.4
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contri
; but, it shows error like this...
>
> The view Naturalgreen.views.index didn't return an HttpResponse object. It
> returned None instead.
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/
> Django Version: 2.0
> Exception Type: ValueError
> Exception Va
base from the template (HTML
> file).
> but, it shows error like this...
>
> The view Naturalgreen.views.index didn't return an HttpResponse object. It
> returned None instead.
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/
> Django Version: 2.0
&
ption Type: ValueError
Exception Value:
Python Version: 3.7.3
Django Version: 2.0
(views.py)
from django.shortcuts import render
from django.http import HttpResponse
from Naturalgreen.models import signin
# Create your views here.
def index(request):
if request.method == 'POST':
if r
d then try to migrate
>
> On Sun 16 Jun, 2019, 1:38 PM anchal agarwal,
> wrote:
>
>> I recently deleted one of my app from my website directory. For deleting
>> app I removed that app name from settings.py also I removed it's folder
>> I then applied python manage.py
thon manage.py migrate
> But now i am unable to access my admin, it's giving an error
>
> ValueError: invalid literal for int() with base 10: 'admin'
>
> Internal Server Error: /favicon.ico/
> Any help would be greatly appreciated
>
>
> --
> You received t
t; I recently deleted one of my app from my website directory. For deleting
>> app I removed that app name from settings.py also I removed it's folder
>> I then applied python manage.py migrate
>> But now i am unable to access my admin, it's giving an error
>>
>>
ngs.py also I removed it's folder
> I then applied python manage.py migrate
> But now i am unable to access my admin, it's giving an error
>
> ValueError: invalid literal for int() with base 10: 'admin'
>
> Internal Server Error: /favicon.ico/
> Any help
16 Jun, 2019, 1:38 PM anchal agarwal,
> wrote:
>
>> I recently deleted one of my app from my website directory. For deleting
>> app I removed that app name from settings.py also I removed it's folder
>> I then applied python manage.py migrate
>> But now i am unable to
emoved it's folder
> I then applied python manage.py migrate
> But now i am unable to access my admin, it's giving an error
>
> ValueError: invalid literal for int() with base 10: 'admin'
>
> Internal Server Error: /favicon.ico/
> Any help would be greatly a
I recently deleted one of my app from my website directory. For deleting
app I removed that app name from settings.py also I removed it's folder
I then applied python manage.py migrate
But now i am unable to access my admin, it's giving an error
ValueError: invalid literal for int() wi
I guess you miss the __init__.py file in project1 directory
Sent from my iPhone
> On Mar 2, 2019, at 3:25 PM, Bulgarian seller wrote:
>
> from ..appTwo import views
> urlpatterns = [
> path('',views.index),
> path('admin/', admin.site.urls),
>
Settings.py:
“../apptwo” ==> “appTwo.apps.apptwoconfig”,
发自我的 空间传送门
> 在 2019年3月3日,上午5:25,Bulgarian seller 写道:
>
> from ..appTwo import views
> urlpatterns = [
> path('',views.index),
> path('admin/', admin.site.urls),
> ]
>
>
> V
from ..appTwo import views
urlpatterns = [
path('',views.index),
path('admin/', admin.site.urls),
]
ValueError: attempted relative import beyond top-level package
How to fix it in django?
I have this in AppTwo.views
def index(request):
return HttpRespons
nday, 19 August 2018 19:32:49 UTC+5:30, Sagar wrote:
>>
>> Hi,
>> I'm trying to create embedded documents in mongodb using django. I'm
>> facing this error when I tried to insert a post in database.
>> "ValueError at /post/Value: None must be instance of M
cing this error when I tried to insert a post in database.
> "ValueError at /post/Value: None must be instance of Model: 'django.db.models.base.Model'>"
> Here is my code.
> models.py
> from djongo import models
>
>
> # Schema for comments collec
Hi Sagar,
I am facing the similar issue while adding User model as embeddedmodel in
a custom profile model.
Please let me know do you get any solutions for your issue,
Thanks,
Ganesh
On Wednesday, 22 August 2018 11:58:29 UTC+5:30, Sagar wrote:
>
> Hi Mikhailo
> I think the problem is with views
Hi Mikhailo
I think the problem is with views. Because when I run the API, it is giving
me the default root view that django provide for API. When I entered the
values in form and then
when i post the data, at that time I'm getting this error.
In serializers When I make a small change It is show
rest_framework_mongoengine was updated 1 year ago, according to djongo docs
they have integration with Django Rest Framework, try to use Django Rest
Framework instead of rest_framework_mongoengine.
And you need debug the error.
понеділок, 20 серпня 2018 р. 14:36:15 UTC+3 користувач Sagar написав
>
> We want to use NoSQL database insted of SQL database
>
Is your data relational, and are you going to be doing alot of joins? If
so, using mongo will be a pain in your application for performance.
I really hope you have a solid technical reason why to use mongo rather
than "ITS WEBSCALE!!
Hi Mikhailo
Yes you are right, but I didn't used django-nonrel or djangotoolbox. Those
were totally outdated. I have used djongo which is updated as far as I
know. About MongoDB, I'm working on project in which we used MongoDB. We
want to use NoSQL database insted of SQL database. Did you work w
Not sure what you are using but all packages for Django + MongoDB are
outdated.
Why do not use PostgreSQL instead of MongoDB?
--
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
Hi,
I'm trying to create embedded documents in mongodb using django. I'm facing
this error when I tried to insert a post in database.
"ValueError at /post/Value: None must be instance of Model: "
Here is my code.
models.py
from djongo import models
# Schema for comments coll
Hi,
See my comments below.
Regards,
Andréas
2018-08-10 5:29 GMT+02:00 mounikesh mintu :
> hey guys when i tried to like a post in drf i have got in to an error
>
> models.py
>
> class status(models.Model):
> user=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE,
> null
hey guys when i tried to like a post in drf i have got in to an error
models.py
class status(models.Model):
user=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE,
null=False)
# user=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE)
content=mod
On zondag 8 juli 2018 08:40:03 CEST darkblakh...@gmail.com wrote:
> Traceback (most recent call last):
> File "/root/Desktop/website/movies/views.py", line 4, in
> from .models import mdb
> ValueError: Attempted relative import in non-package
You should really create
make sure that __init__.py file exists and not deleted
--
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.com.
To post to thi
en i try to import class from model.py give me error
>
> from .models import mdb
> output:
>
> Traceback (most recent call last):
> File "/root/Desktop/website/movies/views.py", line 4, in
> from .models import mdb
> ValueError: Attempted relative import in non-pa
/root/Desktop/website/movies/views.py", line 4, in
from .models import mdb
ValueError: Attempted relative import in non-package
any ideas ? thanks in advance
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
Alright! Thanks much!
On Sun, 24 Jun 2018, 6:56 pm Melvyn Sopacua, wrote:
> On zaterdag 23 juni 2018 21:10:27 CEST Saloni Kalra wrote:
> > Thank you for your reply. I removes all the migrations and dropped the
> > database. Now when I try to make migrations i get the following error in
> my
> >
On zaterdag 23 juni 2018 21:10:27 CEST Saloni Kalra wrote:
> Thank you for your reply. I removes all the migrations and dropped the
> database. Now when I try to make migrations i get the following error in my
> terminal.
> Thanks and regards,
> Saloni
>
> *Error:*
> accounts.User.user_ptr: (field
a/feedback
>
> > This is a feedback application for teachers by the students. I have been
>
> > constntly getting the following error:
>
> > ValueError at /feedback/by/feedback/new
>
> > Cannot assign "": "Feedback.user" must be a "User"
On zaterdag 23 juni 2018 10:52:09 CEST Saloni Kalra wrote:
> https://github.com/salonikalra/feedback
> This is a feedback application for teachers by the students. I have been
> constntly getting the following error:
> ValueError at /feedback/by/feedback/new
> Cannot assign &qu
https://github.com/salonikalra/feedback
This is a feedback application for teachers by the students. I have been
constntly getting the following error:
ValueError at /feedback/by/feedback/new
Cannot assign "": "Feedback.user" must be a "User" instance.
Please help.
On dinsdag 29 mei 2018 14:07:59 CEST Caleb Bryson wrote:
> def vote(request, question_id):
> ... # same as above, no changes needed.
You fell into the cut-and-paste-without-reading trap.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups
"Django use
How would I apply a return for my view here?
from django.http import HttpResponseRedirect
from django.shortcuts import get_object_or_404, render
from django.urls import reverse
from django.views import generic
from .models import Choice, Question
class IndexView(generic.ListView):
template_name
View require that you return an HttpResponse object. Your function does not
(it probably even lacks a "return").
You need to return the response back in the view.
On Tue, May 29, 2018 at 8:48 AM, Caleb Bryson wrote:
> Hey i am getting this error now can anyone help me fix this? and what code
>
Hi I am having the same error. Did you manage to solve it?
On Thursday, December 7, 2017 at 10:30:16 AM UTC+6, Rajeshwaran wrote:
>
> Hi All,
>
> I am facing this "ValueError: source code string cannot contain null
> bytes" error when i create a sqlite3 databas
Hi All,
I am facing this "ValueError: source code string cannot contain null bytes"
error when ever i create a splite3 database and use it.
Below are the steps i follow.
1. Create the database using db browser.
2. Run python "manage.py inspectdb > models.py"
3
Hi All,
I am facing this "ValueError: source code string cannot contain null bytes"
error when i create a sqlite3 database and run the application.
Steps that i do :
1. Create database using db browser for SQLITE3
2. Create model by running "python manage.py inspectdb &g
e
> their_company field. The entire error is *"invalid literal for int()
> with base 10: 'NewCor'"* NewCor is a company in the contacts table. Thanks
>
>
>
> On Wednesday, July 26, 2017 at 1:27:28 PM UTC-6, Tim Chase wrote:
>>
>> On 2017-07-26 11:52,
in the contacts table. Thanks
On Wednesday, July 26, 2017 at 1:27:28 PM UTC-6, Tim Chase wrote:
>
> On 2017-07-26 11:52, Alexander Joseph wrote:
> > "*ValueError: invalid literal for int() with base 10:*" after I
> > made a field in my models.py a ForeignKey
On 2017-07-26 11:52, Alexander Joseph wrote:
> "*ValueError: invalid literal for int() with base 10:*" after I
> made a field in my models.py a ForeignKey. Below is my models.py
The problem lies in this line:
> new_invoice_num = int(last_invoice_num) +
Hello, I came across this error:
"*ValueError: invalid literal for int() with base 10:*" after I made a
field in my models.py a ForeignKey. Below is my models.py
from django.conf import settings
from django.db import models
from django.core.urlresolvers import reverse
from django.ut
pythonic.
Best regards
Ogi
On 17.07.2017 16:08, Michal Petrucha wrote:
On Mon, Jul 17, 2017 at 03:46:30PM +0200, Ogi Vranesic wrote:
Hi
I have used some templates in older django versions.
But now in django 1.11 using the same templates, the error:
ValueError: Need 2 values to unpack in for loop
On Mon, Jul 17, 2017 at 03:46:30PM +0200, Ogi Vranesic wrote:
> Hi
>
> I have used some templates in older django versions.
> But now in django 1.11 using the same templates, the error:
>
> ValueError: Need 2 values to unpack in for loop; got 3.
>
> will be rais
Hi
I have used some templates in older django versions.
But now in django 1.11 using the same templates, the error:
ValueError: Need 2 values to unpack in for loop; got 3.
will be raised on line 207 in module django.template.defaulttags
by the method render of class ForNode
Actually is by me
On 07/08/2016 04:58 PM, James Schneider wrote:
> The polls,detail.html is:
>
> {{ question.question_text }}
>
> {% if error_message %}{{ error_message }}
> {% endif %}
>
> http://question.id>
%}" method="post">
> {% csrf_token %}
>
> {% for choice in question.choice_set.all %}
>
> The polls,detail.html is:
>
> {{ question.question_text }}
>
> {% if error_message %}{{ error_message }}
> {% endif %}
>
>
> {% csrf_token %}
>
> {% for choice in question.choice_set.all %}
> id="choice{{forloop.counter }}"
> value"{{ choice.id }}" />
It
File
"/opt/python-virtual-environments/py3.5dj1.9.7/lib/python3.5/site-packages/django/db/models/fields/__init__.py",
line 976, in get_prep_value
return int(value)
ValueError: invalid literal for int() with base 10: 'on'
[07/Jul/2016 16:21:41] "POST /polls/1/vote/ H
http://stackoverflow.com/questions/36809762/valueerror-cannot-reindex-from-a-duplicate-axis-while-using-pivot-table
--
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, sen
s\core\generic.py",
line 731, in __nonzero__
.format(self.__class__.__name__))
ValueError: The truth value of a Series is ambiguous. Use a.empty,
a.bool(), a.item(), a.any() or a.all().
The value in dataframe is all in integers. It also have repetitive values
of index.
Attached : CSV da
I changed a field from TextField to PlaceholderField (from Django-CMS) and
now I get the above error when running 'migrate'.
I can't find a way to fix this, nor can I undo it as there appears to be no
way to remove migrations.
I am using:
Python 3.4.3
Django 1.8.5
Django-CMS 3.1.3
Does an
arams)
  File
"C:\Users\mike\env\xxfx3\lib\site-packages\django\db\models\query.py",
line 348, in create
   obj.save(force_insert=True, using=self.db)
  File
"C:\Users\mike\env\xxfx3\ssds\substance\models\wrappedsds.py",
line 60, in save
  Â
region)
>File
> "C:\Users\mike\env\xxfx3\lib\site-packages\django\db\models\manager.py",
> line 127, in manager_method
> return getattr(self.get_queryset(), name)(*args, **kwargs)
>File
> "C:\Users\mike\env\xxfx3\lib\site-packages\django\db\models
self.create(**params)
File
"C:\Users\mike\env\xxfx3\lib\site-packages\django\db\models\query.py",
line 348, in create
obj.save(force_insert=True, using=self.db)
File "C:\Users\mike\env\xxfx3\ssds\substance\models\wrappedsds.py",
line 60, in save
s
On 18/10/2015 6:28 AM, Tim Graham wrote:
Do you have code that worked before (didn't result in data loss) but
doesn't work now? If so, it could be a bug in Django.
Yes indeed. It is all in my repo. I'll go back to 1.7.x and rerun the
tests and report back.
Thanks
Mike
On Friday, October
1 - 100 of 211 matches
Mail list logo