PS: The content of the last mentioned folder looks like this:
/usr/local/arm-unknown-linux-gnueabi/lib/gcc/arm-unknown-linux-gnueabi/4.9.3$
ls *
crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o libgcc.a
libgcc_eh.a libgcov.a
finclude:
include:
arm_acle.h float.h mmintrin.h sani
Dear Kasper
Thank you very much. If you still read this, I would like to ask a question
about cross compilation. I found this developers guide from Synology:
https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_NAS_Server_3rd_Party_Apps_Int
May be you forgot to tell django where it looks for your template
directory. To do this in your project directory go to setting and create a
variable like this;
TEMPLATE_DIR = os.path.join( BASE_DIR, 'templates')
Then locate TEMPLATES in your setting and put TEMPLATE_DIR variable in
DIRS, like thi
"One thing that bothers me is that the author of the book refers to the
pages directory as if there is only one. In fact, django created two. The
top level, (Is that referred to as the base?) has manage.py in it. One of
the childs of this is another ‘page’ which is where I put urls.py. At one
po
I think Alvaro is on to something. I just noticed that there ins't a
virtual enviroment active, and the traceback shows that pipenv run wasn't
used either. Can we try pipenv shell and then running python manage.py
runserver again? If you didn't install Django using pipenv install, do that
first.
Thanks, it works well. We have to add start(^) and finish($) regex symbols to
url names. Otherwise django resolver checks whether any url has contain request
path.
> On 6 Mar 2020, at 21:19, 'MH' via Django users
> wrote:
>
>
> So, I would perhaps try something like
> url("^token/", Token
You can't deploy to cpanel go for cloud services of pythonanywhere
On Fri, 6 Mar, 2020, 12:23 pm Tosin Ayoola, wrote:
> good morning guys,
> i'm trying to deploy my project on cpanel but i'm encountering this err
> msg, hoping anyone can help me out
> i have the screen shot of the msg below tnks
Hi MH,
On 06/03/2020 10.38, 'MH' via Django users wrote:
Before I do something very difficult like this cross compiling I wanted
to try to get gcc to run on the synology diskstation.
That definitely sounds like a very good idea. As I mentioned I have zero
experience with the Synology Diskstat
Can we please have a look at the project and app urls.py and also the
view.py module.
On Fri, Mar 6, 2020 at 1:19 PM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> So, I would perhaps try something like
>
> url("^token/", TokenView.as_view(), name="token"),
> url("^revoke_token/"
So, I would perhaps try something like
url("^token/", TokenView.as_view(), name="token"),
url("^revoke_token/", RevokeTokenView.as_view(), name="revoke-token"),
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group a
Dear Ali
I am just new to this myself, but I think it comes to down to the question
what is the first pattern that matches for django. As far as I know we can
use the ^ in order to tell django/python that a pattern should be at the
start of a string that is searched. So I am not mistaken, you c
Thank you all for your help and your interest. I am not sure how best to
handle getting
Information that you all have requested. Don’t want to clutter up the
thread more than
necessary, so I will send the information to all that have shown interest
as .pdf attachments in emails.
To Jorge G
No ... I cannot just copy it. Then it is asking for lxml again.
ImportError: No module named 'lxml
--
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-user
>From both folders I tried ./python3 -m pip install docx, but both resulted
in an error message. Nevertheless, I know that one of the two works with
docx and runserver. So I guess, I installed it somehow in a different way
and one of the python3s can use that.
Ha, so I found a package in
/
type -a python3
python3 is /opt/bin/python3
python3 is /usr/local/bin/python3
Can this actually be that a command leads to two binaries?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fr
Hi Omar
Thanks for your help again. Indeed, runserver works depending on which
python3 I am using. But I guess this is the problem. The python3 from
/volume1/@appstore/py3k...and..so..on seems to work with gunicorn, but this
is not the same python3 that works with docx. I still try to figure ou
Hi Kushal,
Since the out-of-the box User model is coming from the auth module, you
can hardly extend this class. To store additional information for
different types of Users, you could create a custom UserProfile model,
which has a Foreign Key to the User model:
from django.db import models
...
On Fri, Mar 6, 2020, 5:46 PM Omar Abou Mrad wrote:
>
> https://docs.djangoproject.com/en/3.0/howto/static-files/#configuring-static-files
>
> {% load static %}
>
>
> On Fri, Mar 6, 2020 at 2:04 PM Aly_34_04 MR_34_04 <
> allaberdi16yazha...@gmail.com> wrote:
>
>> it doesn't work, I tried(
>> [06
Hi use single quote ‘product.image.url’ and it should be work
On Fri, 6 Mar, 2020 at 6:17 PM, Omar Abou Mrad
wrote:
>
> https://docs.djangoproject.com/en/3.0/howto/static-files/#configuring-static-files
>
> {% load static %}
>
>
> On Fri, Mar 6, 2020 at 2:04 PM Aly_34_04 MR_34_04 <
> allaberdi16
tqdm not work for web it is for consol or windwos or mac ...
On Wednesday, March 4, 2020 at 8:31:24 PM UTC+3:30, jlgimeno71 wrote:
>
>
>
> On Wed, Mar 4, 2020 at 8:40 AM Alaydyn Gholechragh > wrote:
>
>> Hi
>> I search a lot in Google to find best methods for uploads big file with
>> progressbar
https://docs.djangoproject.com/en/3.0/howto/static-files/#configuring-static-files
{% load static %}
On Fri, Mar 6, 2020 at 2:04 PM Aly_34_04 MR_34_04 <
allaberdi16yazha...@gmail.com> wrote:
> it doesn't work, I tried(
> [06/Mar/2020 15:01:39] "GET /products/ HTTP/1.1" 200 1719
> Not Found: /pr
it doesn't work, I tried(
[06/Mar/2020 15:01:39] "GET /products/ HTTP/1.1" 200 1719
Not Found: /products/3.png
[06/Mar/2020 15:01:39] "GET /products/3.png HTTP/1.1" 404 2137
On Friday, March 6, 2020 at 2:35:52 PM UTC+3, Omkar Parab wrote:
>
> {{ product.image.url }}
>
> On Fri, Mar 6, 2020, 4:
{{ product.image.url }}
On Fri, Mar 6, 2020, 4:50 PM Aly_34_04 MR_34_04 <
allaberdi16yazha...@gmail.com> wrote:
> [image: Capture.JPG]
> Enter code here...
> #django templates
>
> {% extends 'base.html' %}
> {% block content %}
> Products
>
> {% for product in products %}
>
>
>
>
> {
[image: Capture.JPG]
Enter code here...
#django templates
{% extends 'base.html' %}
{% block content %}
Products
{% for product in products %}
{{product.name}}
$ {{product.price}}
add to card
{% endfor %}
{% endblock %}...
#python code
class Product(models.Model):
n
Hello guys, I need your help!
How can I give a staff user a permission to create a user account in django?
On Fri, 6 Mar 2020 at 06:01 Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
>
>> Thank you for your r
Hi all,
I have encountered a problem when trying to create views that have to
include the same string in name. I created two views below.
The problem is here, when I tried to make a post request to revoke_token
endpoint, this request always is handled by 'token/' endpoint(TokenView).
I debugged
Why don't you compare your code with the Github repo provided by the
author: https://github.com/wsvincent/djangoforbeginners.
You can share your code with us for more clarity.
On Fri, Mar 6, 2020 at 9:31 AM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On
It seems like you're not activating the virtual environment. Active the
virtual environment and install the dependencies.
On Thu, Mar 5, 2020 at 11:02 PM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
>
>> T
Hi Folks,
I'm extending user model as OneToOneField in my own model. So it's mean one
user can contain only one field. But if I'll try to do another request I
getting unique contrainr failed so as of now it's absolutely fine. But my
query is I want to handle this error and send a message to that u
Is it still working if you use runserver?
On Fri, Mar 6, 2020, 11:41 AM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Dear Kasper
>
> Before I do something very difficult like this cross compiling I wanted to
> try to get gcc to run on the synology diskstation. But there is a ge
Dear Kasper
Before I do something very difficult like this cross compiling I wanted to
try to get gcc to run on the synology diskstation. But there is a general
pip issue that I do not understand.
./pip3 search gcc
clang-fake-gcc (0.2.1) - A GCC-like compiler interface, but runs
Clang
You're right. And I don't know what I saw, but now it isn't working either
way.
2020. március 6., péntek 0:02:58 UTC+1 időpontban Andréas Kühne a
következőt írta:
>
> If you check the code for the PasswordChangeView, the default template is
> 'registration/password_change_form.html'. So you are
32 matches
Mail list logo