Thanks I will try it.
On Tuesday, September 4, 2018 at 8:29:58 PM UTC+5:30, pgopa...@gmail.com
wrote:
>
> # Please try to use this logic in your views.py file.
> # first extract the data from the request
>
> question_text = request.data['question_text']
> pub_date = request.data['pub_date ']
Thanks Gopal
On Tue, Sep 4, 2018 at 4:12 PM wrote:
> Dear Carl,
>>
>
> I'm sorry, I've no idea what the Cart is. I'm assuming that it is a
> class which can be instantiated with some dictionary data.
> So you try passing request.data instead of just request to the Cart.
>
> Try to check by p
deepak@deepak-HP-Pavilion-x360-Convertible:~/Desktop/mini_project/tutor$
python manage.py runserver
Unhandled exception in thread started by .wrapper at 0x7f1f1d2e5b70>
Traceback (most recent call last):
File
"/home/deepak/.local/lib/python3.6/site-packages/django/db/utils.py", line
110, in lo
All good now!
Thanx!
Verstuurd vanaf mijn iPhone
> Op 4 sep. 2018 om 15:41 heeft RONAK JAIN het
> volgende geschreven:
>
> I think should be there cot's issues look like that you should right there:
>
>
>
>
> Thanks
> Ronak Jain
>
>> On Tue, Sep 4, 2018 at 6:44 PM Ravi Kiran Katukam
You need to run python manage.py migrate.
The database tables do not exists.
> On 4. Sep 2018, at 21:10, xcode101 wrote:
>
> Any gist file we could check it out? Sorry to hear that you've been at this
> for days.
> The piece of code accessing polls_article.
>
> On Tuesday, 4 September 2018 2
Any gist file we could check it out? Sorry to hear that you've been at this
for days.
The piece of code accessing polls_article.
On Tuesday, 4 September 2018 20:15:14 UTC+3, Sandy Leon wrote:
>
> Hello everyone, I have been using Heroku to try and deploy my Django site.
> When running the comman
Any gist file we could check it out?
On Tuesday, 4 September 2018 20:15:14 UTC+3, Sandy Leon wrote:
>
> Hello everyone, I have been using Heroku to try and deploy my Django site.
> When running the command 'heroku open' Django gives me this error
>
>
> Environment:
>
>
> Request Method: GET
> Re
Hi Ravi,
On 04/09/2018 14.42, Ravi Kiran Katukam wrote:
any one developed kivy app for enterprise needs along with django web
need help
There might be someone here who has experience with that, but why not
ask for help in the appropriate mailing list. This seems to be the one:
https://gr
Hello everyone, I have been using Heroku to try and deploy my Django site.
When running the command 'heroku open' Django gives me this error
Environment:
Request Method: GET
Request URL: https://secure-waters-81472.herokuapp.com/
Django Version: 2.0
Python Version: 3.6.6
Installed Applications
Channels has to be one of the great libs I've used. However didn't find
enough examples on how to implement long polling.
So according to my understanding is that when request is received the "
LongPollConsumer" consumer handler function send a "don't close body" by
using more_body=True param.
It works on my localhost. But when I deploy on AWS ElasticBeanstalk, I get
this error:
Traceback (most recent call last):
File
"/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/handlers/exception.py",
line 35, in inner
response = get_response(request)
File
"/opt/python/run
>
> Dear Carl,
>
I'm sorry, I've no idea what the Cart is. I'm assuming that it is a class
which can be instantiated with some dictionary data.
So you try passing request.data instead of just request to the Cart.
Try to check by printing request.data, it'll be a dict.
FYI you can check the
# Please try to use this logic in your views.py file.
# first extract the data from the request
question_text = request.data['question_text']
pub_date = request.data['pub_date ']
#Then store this data in your model.
Question.objects.create(question_text =question_text , pub_date = pub_date )
THANKS
El lunes, 3 de septiembre de 2018, 11:04:33 (UTC-4), gustav...@gmail.com
escribió:
>
> Hello, i want to change de title and the default text in the header of the
> Django-Admin site but i don´t know do that.
>
--
You received this message because you are subscribed to the Google Groups
Hi Carl,
The problem seems to be the use of `get_template`:
https://docs.djangoproject.com/en/2.1/topics/templates/#usage
The second parameter (the one you're using a dict) is not the values to
pass to the template, but the name of the template engine to be used.
I'd suggest using `render` (
htt
I think should be there cot's issues look like that you should right there:
Thanks
Ronak Jain
On Tue, Sep 4, 2018 at 6:44 PM Ravi Kiran Katukam
wrote:
> any one developed kivy app for enterprise needs along with django web
> need help
>
> On Tue, Sep 4, 2018 at 5:46 PM, Julio Biason
> wro
I am not getting What you want install there ?
On Tue, Sep 4, 2018 at 6:44 PM Christian Haugland <
haugland.christ...@gmail.com> wrote:
> this is the output i get using python 3.7: any idea?
>
> (venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip
> Collecting pip
> Using
Are you not using class ?
On Tue, Sep 4, 2018 at 6:44 PM carl collins
wrote:
> Here is the code for view.py in my cart app please help(also see the
> screenshot):
>
>
> from django.template import loader
> from django.http import HttpResponse
> from django.template.loader import render_to_strin
hello Sonali
Please use:
python manage.py makemigrations
python manage.py migrate
Thanks
Ronak Jain
On Tue, Sep 4, 2018 at 5:52 PM Sonali Vighne wrote:
> Hi,
> I have create a model
>
> Models.py
>
> from django.db import models
> import datetime
> from django.utils import timezone
>
> class
this is the output i get using python 3.7: any idea?
(venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip
Collecting pip
Using cached
https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
In
Here is the code for view.py in my cart app please help(also see the
screenshot):
from django.template import loader
from django.http import HttpResponse
from django.template.loader import render_to_string
import django.template.loader
from cart.cart import Cart
from .models import Product
any one developed kivy app for enterprise needs along with django web
need help
On Tue, Sep 4, 2018 at 5:46 PM, Julio Biason wrote:
> Hey Tim,
>
> Are you sure your view is defined with spaces in the urls.py? Shouldn't it
> be {% url 'manifest' %} instead, with no spaces around the name?
>
> O
from django.template import loader
from django.http import HttpResponse
from django.template.loader import render_to_string
import django.template.loader
# Create your views here.
# Create your views here.
from cart.cart import Cart
from .models import Product
'''from cart.models import Category,
This Field set definition:
fieldsets = (
('Job Work Sheet', {
'fields': (
('number', 'job_history', 'hw_customer',),
('status', 'contracted_out',),
('adn_parts_required', 'atn_required', 'atn_tech',
'cancel_job',
Hi,
I have create a model
Models.py
from django.db import models
import datetime
from django.utils import timezone
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def __str__(self):
return self
Hey Tim,
Are you sure your view is defined with spaces in the urls.py? Shouldn't it
be {% url 'manifest' %} instead, with no spaces around the name?
On Tue, Sep 4, 2018 at 6:28 AM, Tim Vogt (Tim Vogt)
wrote:
> I have made saleor local
>
> after restart I get this error
>
> Tried to change the “
I have made saleor local
after restart I get this error
Tried to change the “ “ into ‘ ‘ bout before it worked.
Any tips how to solve this?
Tim
NoReverseMatch at /en/
Reverse for ' manifest ' not found. ' manifest ' is not a valid view function
or pattern name.
Request Method: GET
Request URL
I am not getting direct error because more time you will get this type of
error if you want to solve this one we can do connect on team viewer and
then Maybe, I will solve your error.
Thanks
Ronak Jain
On Tue, Sep 4, 2018 at 1:49 PM Kaelig wrote:
> Debug is already set to True.. Even if I onl
Why is it working with a GET and not a POST if my url mapping is wrong ??
Le mardi 4 septembre 2018 10:19:32 UTC+2, Kaelig a écrit :
>
> Debug is already set to True.. Even if I only put one url in urlpatterns,
> I get this error. I don't think it's from a wrong url mapping. It looks
> like the
Debug is already set to True.. Even if I only put one url in urlpatterns, I
get this error. I don't think it's from a wrong url mapping. It looks like
the path is empty even if it should not (it should be /aves/ in this case)
Le mardi 4 septembre 2018 10:13:59 UTC+2, RONAK JAIN a écrit :
>
> oka
okay one more thing you can do please go to settings and look there option
DEBUG=False please do True.
On Tue, Sep 4, 2018 at 1:41 PM Kaelig wrote:
> [image: error_message.png]
>
> Here is the error message I get
>
> --
> You received this message because you are subscribed to the Google Groups
Please analyse your url mapping in django..
Thanks
On Tue, Sep 4, 2018 at 1:40 PM Kaelig wrote:
> [image: error_message.png]
>
> Here is the error message I got from debug
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe
[image: error_message.png]
Here is the error message I get
--
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
[image: error_message.png]
Here is the error message I got from debug
--
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.c
Hi,
You should not run django from inside the packages directory. If you want
to install and run django - try to check one of the tutorials - I recommend
either the official tutorial:
https://docs.djangoproject.com/en/2.1/intro/tutorial01/
Or the django girls tutorial:
https://tutorial.djangogirl
Hi Phil,
As suggested by other posters, creating a virtualenv is the safest way to work
with Python, since it avoids tampering with the system level installation (f.i.
several Linux distros use Python for a lot of their system tools in nowadays
versions) and it lets you have customized environ
There are few things to keep in mind while playing with images
1. media url in setting file
2. upload_to field in model
3 enctype="multipart/form-data" in form tag.
Enjoy
Dev
On Mon, Sep 3, 2018 at 10:44 PM Mohammad Aqib
wrote:
> Add below line into your model.
>
> image = models.ImageField(upl
Don't modify the base_site.html instead you should override the method or
fuctions which will be good practice
On Tue, Sep 4, 2018 at 11:50 AM victor jack wrote:
> *Ok i see, you create an admin folder in your template folder then create
> a base_site.html and an index. html file , these file wi
If you wanna install across the system then just Use *root user *Or* sudo **pip
install **Django* . this is install the django in your system.
but Best practices is to use special env If you need any help installing
django with env reply me i will help in that.
Thanks enjoy
Dev
On Mon, Sep 3, 2018
39 matches
Mail list logo