Re: django.urls.exceptions.NoReverseMatch: 'courses' is not a registered namespace

2020-04-23 Thread Jorge Gimeno
On Thu, Apr 23, 2020, 7:46 AM Bruno Gama wrote: > I have a problem since I tried to use get_absolute_url(self): to enter in > a url beyond a photo. When I used , my index.html stopped running. > > Here I have the top level url.py > > from import adminfrom django.urls import path, includefrom sim

Re: Problem with user.username

2020-04-23 Thread Jorge Gimeno
ur 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.com. >

Re: Deploying Django Project on heroku

2020-04-25 Thread Jorge Gimeno
%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > This is one that's current and I have used before: https://github.com/jlgimeno/wagtail-heroku-deployment -Jorge -- You

Re: The database backend does not accept 0 as a value for AutoField.

2020-04-26 Thread Jorge Gimeno
u 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 discussion on the web visit > https://groups.google.com/d/msgid/django

Re: I really need help pls assist this error

2020-04-30 Thread Jorge Gimeno
o 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 discussion on the web visit > https://groups.google.com/d/msgid/django-users/b28044c2-c7f6-4cd8-a5e1-a20d9d8abfd1%40

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-02 Thread Jorge Gimeno
iQXEDVzCKUpVygfGVRdSNh8MTU4ODQ5ODI0OEAxNTg4NDExODQ4&event=comments&stzid=Ugzjv_AAC_iJQGZgxuB4AaABAg>" > in _exit_ 89. raise dj_exc_value.with_traceback(traceback) from exc_value File > "C:\Users\user\PycharmProjects\PyShop\venv\lib\site-packages\django\db\backends\ > utils.p

Re: Making Serial number

2020-05-02 Thread Jorge Gimeno
le.com/d/msgid/django-users/3842baeb-b054-482a-b127-ae5c160493ca%40googlegroups.com?utm_medium=email&utm_source=footer> > . > Models in Python have an autoincrementing primary key (unless you have turned that off). See https://docs.djangoproject.com/en/3.0/topics/db/models/#automati

Re: Making Serial number

2020-05-02 Thread Jorge Gimeno
On Sat, May 2, 2020 at 10:37 AM Kushal Neupane wrote: > Not primary key to use here. > There might be different data. > I am trying to do serial numbers as total numbers in the list. Thank you > > On Sat, May 2, 2020, 23:20 Jorge Gimeno wrote: > >> >> >> O

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-02 Thread Jorge Gimeno
ib/python3.7/site-packages/django/db/backends/utils.py", > line 86, in _execute > return self.cursor.execute(sql, params) > File > "/home/kirikou/mysite/env/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", > line 396, in execute > ret

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Jorge Gimeno
ou're using sqlite3, which is file based) is named (without quotes) "db.sqlite3'. Hope this helps! -Jorge > > Envoyé de mon iPhone > > Le 3 mai 2020 à 05:21, Jorge Gimeno a écrit : > >  > > > On Sat, May 2, 2020 at 8:09 PM Amina Anna Mahamane.O &

Re: Form is not getting displayed on django admin page

2020-05-03 Thread Jorge Gimeno
ass Destination(models.Model): name = models.CharField(max_length=100) Try setting the rest of the attributes using the assignment operator ('='), then run migrations again. You should see the fields in the admin. -Jorge -- You received this message because you are subscribed to the Go

Re: Form not visible on the add page

2020-05-03 Thread Jorge Gimeno
sers/6f1d4cad-2d83-454d-b49b-7eaaef5b0ea8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > This is related to your previous post. The fields aren't showing up, and they won't until they are properly defined and the database migration is done. -Jorge -- You recei

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Jorge Gimeno
is means that the table is created sometimes >> this happens when you make changes to the model and don't run migrations. >> >> On Sat, May 2, 2020 at 10:33 PM Jorge Gimeno wrote: >> >>> >>> >>> On Sat, May 2, 2020 at 7:43 AM Iain Stewart wro

Re: Page 404 error after running Django server

2020-05-04 Thread Jorge Gimeno
I just realized that the view is returning an HttpRequest. It should be an HttpResponse object (and the import should be changed to bring that object in as well). -Jorge On Mon, May 4, 2020 at 11:43 AM Deepti sharma wrote: > @rdsaini...@gmail.com > I updated it with: path(&q

Re: Best hosting for Django Application?

2020-05-05 Thread Jorge Gimeno
someone else do it? If you're willing to do the work yourself, then a self-hosted option would be best. DigitalOcean and Linode are two services I have used in the past. For enterprise level stuff, Amazon Web Services is the option I hear most (I don't have anything with needs at this

Re: How to customize the authentication system?

2020-05-06 Thread Jorge Gimeno
-89dd-ec8bd65b2880%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f40de223-b53c-4a14-89dd-ec8bd65b2880%40googlegroups.com?utm_medium=email&utm_source=footer> > . > There's a tutorial here: https://wsvincent.com/django-custom-user-model-tutorial/ -Jorg

Re: Django Media Static Files

2020-05-06 Thread Jorge Gimeno
mp;utm_source=footer> > . > Are you getting a 404 in production, or while using the development server (manage.py runserver)? -Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: django.core.exceptions.ImproperlyConfigured: error is coming

2020-05-08 Thread Jorge Gimeno
On Fri, May 8, 2020 at 2:00 AM ratnadeep ray wrote: > I am new to Django and hence don't have much idea about it. I am trying to > create an app having the following contents in my view.py file: > > from django.shortcuts import render >> from fusioncharts.models import City >> def pie_chart(reque

Re: ModuleNotFoundError:

2020-05-08 Thread Jorge Gimeno
ps.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3e8a7709-985a-4fdf-8209-f9d3fe4c9809%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/3e8a7709-985a-4fdf-8209-f9d3fe4c9809%40googlegroups.com?utm_medium=email&ut

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
59-eb10-4def-90dc-762d1315e66a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > Can you type pip freeze into your terminal and copy/paste the output here, please? -Jorge -- You received this message because you are subscribed to the Google Groups "Dja

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
Is this in a virtual environment? Are you using pipenv? -Jorge On Fri, May 15, 2020 at 1:24 PM J Maryott wrote: > C:\Users\jakem\python-getting-started>pip freeze > asgiref==3.2.7 > dj-database-url==0.5.0 > Django==3.0.6 > django-heroku==0.3.1 > django-utils==0.0

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
On Fri, May 15, 2020 at 5:27 PM John McClain wrote: > try removing this > > django-utils==0.0.2 > > from requirements then run again to see next error > Good catch! I'll bet there's a name collision here. -Jorge -- You received this message because you are sub

Re: Possible Bug? AttributeError: 'HttpResponse' object has no attribute '_resource_closers'

2020-05-16 Thread Jorge Gimeno
s group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/0381e998-321e-489f-abe1-853b6997930f%40googlegroups.com > <https://groups.google.co

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread Jorge Gimeno
: > > Traceback (most recent call last): > File "manage.py", line 10, in > execute_from_command_line(sys.argv) > File > "C:\Users\1\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\__init__.py", > line 401, in execute_from

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-16 Thread Jorge Gimeno
the imports in that file need to be changed. If that's not the case, then we need to see what the directory structure looks like to figure this out. -Jorge On Sat, May 16, 2020 at 4:04 PM chaitanya orakala wrote: > Do you have any idea why i am getting this error? > > On Sat, May

Re: PROBLEM WITH Multiple SETTINGS.PY FILE

2020-05-19 Thread Jorge Gimeno
log post on using multiple settings files. Maybe it will help: https://simpleisbetterthancomplex.com/tips/2017/07/03/django-tip-20-working-with-multiple-settings-modules.html I hope this helps! -Jorge On Mon, May 18, 2020 at 6:51 PM chaitanya orakala wrote: > I tried that way, sir. but it&#x

Re: Reverse for 'display_data' not found. 'display_data' is not a valid view function or pattern name

2020-05-20 Thread Jorge Gimeno
. In your fusioncharts/urls.py, I would add this (completely untested): from django.urls import path from fusioncharts import views urlpatterns = [ > path('home/', views.home, name=''), > *path('display_data//', views.display_data, name='

Re: TypeError: __init__() got an unexpected keyword argument 'Null'

2020-05-20 Thread Jorge Gimeno
Similar to keys in a dictionary, keyword argument names are case sensitive. Try to pass in the lowercase version 'null': Raison_Non_Delivery_cd = models.ForeignKey(Raison, on_delete=models.CASCADE, related_name='raisonNonDelivery', null=True) -Jorge On Wed, May 20, 2

Re: Command open postgresql in from cmd in windows

2020-05-30 Thread Jorge Gimeno
Postgres on Windows may have a different story and user interface. You may need to use something like pAdmin to work with it. -Jorge On Sat, May 30, 2020 at 10:20 AM sunday honesty wrote: > I have been in a message before I could successfully install postgresql on > my windows; it

Re: Error on unauthorized access problem in django

2020-07-14 Thread Jorge Gimeno
django.contrib.staticfiles by design will serve static files only when debug is set to False. It's not designed to serve static files in a production environment. See here: https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/ -Jorge On Mon, Jul 13, 2020 at 5:11 AM A

Re: invalid literal for int() with base 10: ''

2018-07-25 Thread Jorge Gimeno
Can you please post your view? On Tue, Jul 24, 2018 at 9:02 PM, Nitesh Chaudhary wrote: > I got the error on "Writinh your first Django app, part4, in the view of > vote. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
I want to modify or format the html generators by the input type="file". I want to give it its own style, with the same structure as the html of the input type="file", of the admin but: I'm rendering the form, manually, to add materializecss styles https://docs.djangoproject.com/en/2.1/topi

Re: How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
re de 2018, 16:45:37 (UTC-5), Jorge Cadena escribió: > > I want to modify or format the html generators by the input type="file". > > I want to give it its own style, with the same structure as the html of > the input type="file", of the admin > > >

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
ps.google.com/d/msgid/django-users/b497916f-70f3-4023-b110-a8da95e6c975%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/b497916f-70f3-4023-b110-a8da95e6c975%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
On Thu, Nov 29, 2018, 9:40 PM Scott Reed Thanks for you response Jorge! I see, that's just to check that it > worked, and I'm supposed to quit the server to keep using the command > prompt. > Another question: I can't figure out the next step - opening the views.py >

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
We all were there once. Keep moving forward! -Jorge On Thu, Nov 29, 2018, 10:04 PM Scott Reed Thanks again Jorge! I'm such a noob :/ But this is a great learning > experience. > > On Thursday, November 29, 2018 at 9:55:00 PM UTC-8, jlgimeno71 wrote: >> >> >>

Re: Was I supposed to be able to create a question on the website using 'runserver'?

2020-11-11 Thread Jorge Gimeno
That's a helper function to get the Question instances you need for testing. It's a way to query for those questions without repeating the same code over and over in tests. -Jorge On Wed, Nov 11, 2020 at 5:56 AM Carlos Henrique < carloshenrique...@poli.ufrj.br> wrote: >

Re: No ID Error

2020-11-11 Thread Jorge Gimeno
offer any more specific help. -Jorge On Tue, Nov 10, 2020 at 12:57 PM griffines onyango < griffinesonya...@gmail.com> wrote: > > "trying to load '%s': %s" % (entry[1], e) > django.template.library.InvalidTemplateLibrary: Invalid template library > specified.

Re: Django Queryset

2020-12-13 Thread Jorge Gimeno
ble. > >You should consider upgrading via the 'pip install --upgrade pip' > command. > > ! Push rejected, failed to compile Python app. > > ! Push failed > > CAN ANYONE HELP? > > I would start by upgrading pip (https://pypi.org/

Re: setting up urls of many apps

2021-02-20 Thread Jorge Gimeno
;>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to django-users+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/CAK5m316xfF43VCU

Re: Detect and address Django/Graphene performance issues

2023-12-09 Thread Jorge Bueno
Very good. It turns out that I want to create a digital market that connects farmers and ranchers with consumers. For now what I have is the programming code and that runs django but the functionalities do not appear in django. I don't know what step to take now but I consider that it is because th

Who wants to join us to program an app for the play store that will consist of a nutritionist on the phone

2023-12-29 Thread Jorge Bueno
I have thought about these functionalities:Structure of the Application for the play store. The application will be divided into the following main sections: 1.User Registration:This section will allow users to create accounts and provide personal information, such as their name, age, gender, w

Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-10 Thread Jorge Bueno
The project: I am working on an exciting project that I think you might be interested in. It's about an online marketplace similar to the US farmers and livestock markets, but with an online focus. The project is already half done, with a well-defined requirements list and backlog that will all

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-10 Thread Jorge Bueno
Very nice localhost El sáb, 10 feb 2024 a las 20:33, Vairamuthu Puvanachandran (< vai.pu...@gmail.com>) escribió: > Are you checking your site on the localhost or a web hosting server? > Vairamuthu > > On Sat, Feb 10, 2024 at 11:55 AM Jorge Bueno > wrote: > >> The

Re: Get experience letter and job opportunities

2024-02-10 Thread Jorge Bueno
Hello, thank you very much for your interest in the project.right now I have problems with the localhost I have created a file in which all the errors of the terminal come out: https://github.com/Programacionpuntera/Marketplace-Supremo/blob/main/Current%20project%20problems El sáb, 10 feb 2024 a l

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Jorge Bueno
las 17:46, Adeyemi Deji () escribió: > I’m interested. Pls create a WhatsApp group so we can communicate better. > +2349011735491 > > On Sat, 10 Feb 2024 at 17:54, Jorge Bueno > wrote: > >> The project: >> >> I am working on an exciting project that I thi

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Jorge Bueno
Excuse the translator or I must have made a mistake, I mean I don't know how to fix it El dom, 11 feb 2024 a las 17:54, Jorge Bueno () escribió: > Thank you very much to everyone for wanting to help me, I have identified > more specifically the errors that I have in the local serve

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Jorge Bueno
ntributing to your project, do I fork to my repo and > make pull requests? > > On Sun, Feb 11, 2024 at 4:55 PM Jorge Bueno > wrote: > >> Thank you very much to everyone for wanting to help me, I have identified >> more specifically the errors that I have in the l

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-12 Thread Jorge Bueno
Good Amen Guda I need to know the prefix to add because I get that number for that very reason. El lun, 12 feb 2024 a las 8:18, Amen Guda () escribió: > Hey I’m interested add me thank you add me 0944365493 > > On Sun, Feb 11, 2024 at 11:38 PM Jorge Bueno > wrote: > >&g

Redesign of agricultural project with python django and next.js technologies.

2024-02-18 Thread Jorge Bueno
The project: I am working on an exciting project that I think you may be interested in. It is an online marketplace, similar to the US farmers and livestock markets, but with a strong online focus. The project is going to be redone from 0 I have a very detailed backlog . Contributing to this re

Agricultural and livestock project using python, django and next technologies.

2024-02-18 Thread Jorge Bueno
I wrote about the same thing before but I only sent the title XD. The project: I'm working on an interesting project that I think might interest you. This is an online market similar to farmers' and ranchers' markets in the US, but with an online focus. The project is going to be redone from scra

Agricultural and livestock marketplace plus social network as a whole

2024-03-15 Thread Jorge Bueno
e had people say they will collaborate on the project but then they don't collaborate on the project, please don't be that kind of person. Best regards, Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Agricultural and livestock marketplace plus social network as a whole

2024-03-15 Thread Jorge Bueno
Juwaini Abdul Rahman escribió: > In summary, you're looking for free labour? > > On Sat, 16 Mar 2024 at 03:49, Jorge Bueno wrote: > >> Good evening everyone, I need help in my personal project to create an >> agricultural and livestock marketplace and an agricultural and

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-26 Thread Jorge Gimeno
What version of Django are you running? On Fri, Jul 26, 2019, 7:34 AM abhijithez wrote: > Hi All, > > I have created a Django Project that is working fine on local desktop but > when I am starting the same on linux server using python manage.py > runserver it shows the following: > > $python man

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-26 Thread Jorge Gimeno
On Fri, Jul 26, 2019, 8:22 PM Abhijith E wrote: > It's the latest version. > Also I am using Anaconda Distribution with Python 3.5 > > On Sat, Jul 27, 2019, 8:44 AM Jorge Gimeno wrote: > >> What version of Django are you running? >> >> On Fri, Jul 26, 2019

Re: AttributeError

2019-10-01 Thread Jorge Gimeno
is group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/9918df61-41fd-40bd-8ca3-79ee3be12ec3%40googlegroups.com > <https://groups.google.com/d/m

Re: a variable is not defined

2019-10-17 Thread Jorge Gimeno
and pasting the traceback and showing us the actual code (with line numbers if you have them). It will help us diagnose the problem. -Jorge On Thu, Oct 17, 2019 at 7:25 PM wd wrote: > oh ,sorry my mistake. But I think the error is pretty clear ... > > On Fri, Oct 18, 2019 at 10:23 AM wd

Re: a variable is not defined

2019-10-17 Thread Jorge Gimeno
I saw this that may be relevant: https://stackoverflow.com/questions/7576202/how-can-i-pass-two-models-to-a-class-based-generic-view -Jorge On Thu, Oct 17, 2019 at 8:14 PM sotiris moustogiannis wrote: > I want to make custom function because i want to take one result from 2 > different

Re: AttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__'

2019-10-21 Thread Jorge Gimeno
Searches to both of your error messages suggested a mismatch in .so objects. I would uninstall and reinstall Django and see if that helps. -Jorge On Sun, Oct 20, 2019 at 7:59 AM 'Abhishek Sharma' via Django users < django-users@googlegroups.com> wrote: > During handling of

Re: app urls

2019-10-21 Thread Jorge Gimeno
Hello, With the information we have here it's very difficult to suggest anything. I assume this is a web project. Are you using a framework? Which one? How do you render the html pages? What have you tried so far? All questions which will help us help you. -Jorge On Mon, Oct 21, 2019 at

Re: Getting ```AttributeError: 'str' object has no attribute 'state_forwards'``` when running a migrations, Down there is the migrations file. please help

2019-10-22 Thread Jorge Gimeno
Can you post your models.py files, please? -Jorge On Tue, Oct 22, 2019, 6:07 PM fils-aime walnes andre < walnesfilsa...@gmail.com> wrote: > Merci freo > > Le lundi 21 octobre 2019, adonis simo a écrit : > >> >> # Generated by Django 2.2.3 on 2019-10-21 22:00 >

Re: TypeError: api_view() takes from 0 to 1 positional arguments but 2 were given

2019-10-24 Thread Jorge Gimeno
It looks like the call to @api_view should be like this: @api_view(['GET', 'POST']) In other words, pass in a single list of the permitted HTTP methods. Docs here: https://www.django-rest-framework.org/api-guide/views/#api_view -Jorge On Thu, Oct 24, 2019 at 5:01 PM chiyabg

Re: I can't import views

2019-11-24 Thread Jorge Gimeno
Where is the views.py file located? On Sun, Nov 24, 2019 at 10:23 AM Shrikanth M wrote: > can i get solution for this? > > On Saturday, August 5, 2017 at 4:43:42 AM UTC+5:30, Body Abdo wrote: >> >> I'm trying to import view in my url in base project but i can't >> >> >> File "/var/www/project/ve

Re: How can I host my application in web hosting?

2019-11-30 Thread Jorge Gimeno
l not be able to answer. Hope it helps! -Jorge On Sat, Nov 30, 2019 at 6:01 AM Debabrata Chakraborty < debobroto.c...@gmail.com> wrote: > Hi everyone, > > I'm a beginner Django developer. So my apologies in advance for newbie > like questions. > > I am building my

Re: good day guys

2019-12-05 Thread Jorge Gimeno
-model-tutorial/ -Jorge On Wed, Dec 4, 2019 at 4:58 PM Tosin Ayoola wrote: > buenos días, gracias, sí, tengo un súper usuario creado, pero no puedo > ejecutar ningún comando que use manage.py > Gracias > > > On Thu, Dec 5, 2019 at 1:49 AM jose angel encinas ramos < > encin

Re: class 'django.db.utils.ProgrammingError'

2019-12-05 Thread Jorge Gimeno
Cutting and pasting the entire traceback is a good start in helping us see what is going wrong. -Jorge On Thu, Dec 5, 2019 at 10:43 AM Ram wrote: > Hi, > > I'm also hitting the similar error. I would like to know what causes this > error. Basically we are reading a XML fi

Re: Where to set the DATABASE_URL environment variable on Heroku

2019-12-06 Thread Jorge Gimeno
roku itself as a configuration variable. If you provision the database in Heroku, it will be set for you. See here: https://devcenter.heroku.com/articles/heroku-postgresql#provisioning-heroku-postgres -Jorge -- You received this message because you are subscribed to the Google Groups &quo

Re: getting error '1' is not a valid UUID in django 3.0

2019-12-14 Thread Jorge Gimeno
m=email&utm_source=footer> > . > The exception is pretty clear here: The string '1' is not a valid UUID value. Without seeing the rest of your code, it's impossible to know where that value came from. -Jorge -- You received this message because you are subscribed to the Go

Re: invalid syntax in mysite url

2019-12-17 Thread Jorge Gimeno
82-b250-4575-830f-f74a08830a7a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > I see a missing comma in line 24... -Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

Re: django.urls.exceptions.NoReverseMatch

2019-12-19 Thread Jorge Gimeno
0googlegroups.com > <https://groups.google.com/d/msgid/django-users/67cadc7f-e82e-4971-8719-124d01414803%40googlegroups.com?utm_medium=email&utm_source=footer> > . > Would you please copy and paste the entire traceback here? It will help us see what's going on. -Jorge > --

Re: Install library from Github

2020-01-02 Thread Jorge Gimeno
On Wed, Jan 1, 2020 at 6:07 PM Mark34.59 wrote: > Windows 10 PC with new Git installation is failing to recognize the > command "pip": > pip install git+https://github.com/gbozee/django- (command I typed per > instructions) > bash: pip: command not found (response from Git) > > On Wednesday, Janu

Re: Install library from Github

2020-01-02 Thread Jorge Gimeno
th that accomplished, I was then able to gain access to the Github > library. > Thanks again for your suggestions. In the process of attempting one task, > I learned many other things. > > On Thu, Jan 2, 2020 at 8:27 PM Jorge Gimeno wrote: > >> >> >> On Wed, J

Re: pip install mysqlclient not working

2020-01-03 Thread Jorge Gimeno
ot;'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >> install --record >> 'C:\Users\Admin\AppData\Local\Temp\pip-record-gq4a004x\install-record.txt' >> --single-version-externally-managed -

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-12 Thread Jorge Gimeno
Hmm. Not doing that on mine. It is correct that __str__() is defined in models.Model, which your models inherit from. I don't know why it would be considered an error. -Jorge On Sun, Jan 12, 2020 at 1:56 PM Julius Lange wrote: > Dear people, > > currently doing the django tu

Re: post list view not found NoReverseMatch

2020-01-29 Thread Jorge Gimeno
error-and-how-do-i-fix-it -Jorge -- 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 discussion o

Re: how h can use DICOM files through Django app?

2020-01-31 Thread Jorge Gimeno
Django forms do support file uploads. The FileField form field documentation is here: https://docs.djangoproject.com/en/3.0/ref/forms/fields/#filefield -Jorge On Fri, Jan 31, 2020 at 5:35 PM Abdullah Shaker < abdullah.shaker2...@gmail.com> wrote: > i am tring to make a form throu

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
st_framework.urls', namespace= >>> 'rest_framework')), >>>path('/tinymce/', include('tinymce.urls')), >>> >>> ] >>> >>> if settings.DEBUG: >>>urlpatterns += static(settings.MEDIA_URL, document_root=

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
leave the rest unchanged. Does anything change? -Jorge On Fri, Jan 31, 2020 at 9:21 PM Dave Ko wrote: > > LOGIN_REDIRECT_URL = 'news:all_news' > > > all_news is the first page of the website > > On Saturday, February 1, 2020 at 1:16:53 PM UTC+8, jlgimeno71 wrote: &g

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
I apologize to the list for posting all the emails to everyone. I'll keep this going off list. -Jorge On Fri, Jan 31, 2020 at 10:09 PM Jorge Gimeno wrote: > What I believe is going on is that Django is looking for the password > reset view at password_reset, and that url path do

Re: Django local host connection aborted

2020-02-05 Thread Jorge Gimeno
s 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 discussion on the web visit > https://groups.google.com

Re: 404 error

2020-02-12 Thread Jorge Gimeno
t the page cannot be found, we need at minimum the urls.py files involved. Also, the traceback in the terminal would be useful. Cut and paste, please. This list strips attachments. -Jorge -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Trouble after create a pool

2020-02-13 Thread Jorge Gimeno
on38-32\lib\pathlib.py", > line 200, in resolve > return self._ext_to_normal(_getfinalpathname(s)) > OSError: [WinError 123] The filename, directory name, or volume label > syntax is incorrect: '' > > C:\Users\carva\mysite> > > -- > You

Re: 'list' object is not callable

2020-02-13 Thread Jorge Gimeno
e variables a and b are both lists with a single object, but c is different. It is a tuple, with the first (and only) element is a list. c is similar to your authentication_classes variable in your view because of that trailing comma which makes it a tuple. As you can see in the last two lines of your t

Re: pyodbc in umbutu 19.10

2020-02-18 Thread Jorge Gimeno
There may be development libraries missing. An internet search found this: sudo apt install unixodbc-dev Hope it helps! -Jorge On Tue, Feb 18, 2020, 10:49 AM Elias Coutinho wrote: > Good afternoon people. > > > Out of curiosity I installed SQL Server on Linux. > > >

Re: pyodbc in umbutu 19.10

2020-02-18 Thread Jorge Gimeno
ação: > > Os pacotes a seguir têm dependências desencontradas: > unixodbc-dev : Depende: unixodbc (= 2.3.7) > Depende: odbcinst1debian2 (= 2.3.7) mas não será instalado > E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados. > > Em ter., 18 de

Re: NoReverseMatch() error while learning Python

2020-02-19 Thread Jorge Gimeno
cause 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 discussion on the web visit > https://groups.google.com/d/

Re: ValueError: set_wakeup_fd only works in main thread on Apache2.4.41 + Python 3.8.1 + Django 3.0.2 + MySQL 8.0.19

2020-02-22 Thread Jorge Gimeno
om it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5dceb145-7d89-4bd0-a3cf-24dd5155891a%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5dceb145-7d89-4bd0

Re: Streaming images with HttpResponse?

2013-11-15 Thread Jorge Cardoso Leitão
ounds like a standard problem for using Websockets<https://en.wikipedia.org/wiki/WebSocket> . Within Django, there are some apps<https://www.djangopackages.com/grids/g/websockets/> for using Websockets, even though I don't know how websockets work well for video. Hope this helps,

Re: order_by result of sum of fields computed from an annotate

2013-11-19 Thread Jorge Cardoso Leitão
ith sqlite3, with the models and fixture I provide here, I get a *No such column: last_date *error. If I remove the .extra, this query works (but doesn't give the result I want). Comment: I find strange that I'm not able to select "last_date" in the extra(). In this question &

Posible Django Admin BUG

2011-02-02 Thread Jorge Kleinerman (WindBack)
ded to database. Also removing int(), from /usr/local/lib/python2.6/dist- packages/django/db/models/fields/__init__.py in get_prep_value, line 479, works perfect. Seems to be a DJANGO Admin BUG I asked in freenode, django channel and they told me that it should be a bug an I should report it Thanks

Re: Posible Django Admin BUG

2011-02-02 Thread Jorge Kleinerman (WindBack)
Thanks I will try to post it there On Feb 2, 11:43 am, Casey Greene wrote: > Hi Jorge, > > The Django code repository and bug report system is > here:http://code.djangoproject.com/ > > Hope this helps, > Casey > > On 02/02/2011 09:30 AM, Jorge

Re: Posible Django Admin BUG

2011-02-02 Thread Jorge Kleinerman (WindBack)
Thanks Ramiro, The filter() call was wrong. I removed it and now it is rendering fine The curious thing is that in 1.1 it was working fine. However, thanks a lot Regards -Jorge On Feb 2, 1:31 pm, Ramiro Morales wrote: > On Wed, Feb 2, 2011 at 1:08 PM, Ramiro Morales wrote: > > On

Re: ANN: Django website redesign launched

2014-12-17 Thread Jorge C . Leitão
s an intended feature? In any case, the quality of Django website conveys now much better the quality of the Django project. Thank you for that. Cheers, Jorge On Tuesday, December 16, 2014 5:09:55 PM UTC+1, Jannis Leidel wrote: > > Hi everyone, > > We're incredibly proud

Programatically reverse an url to other language

2014-05-15 Thread Jorge Cardoso Leitão
the core.urlresolvers.py, and it RegexURLPattern.regex is always returning the en-us pattern, even when the language_code is 'de'. I then went to see why, and it seems the urls.py are always being imported in the en version, even after the translation.activate('de') call. D

Re: Programatically reverse an url to other language

2014-05-17 Thread Jorge Cardoso Leitão
Hi, You were right that I was using ugettext instead of ugettext_lazy. Thank you for your response and for your suggestions on the code. Regards, Jorge On Thursday, May 15, 2014 9:09:18 PM UTC+2, Tomáš Ehrlich wrote: > > Hi, > use ugettext_lazy for translation of urls, models and ot

Stack Overflow Open Source Advertising, 2H 2014

2014-06-16 Thread Jorge Cardoso Leitão
o uses. If you have suggestions or criticisms, please share them here or in the post in SO. Feel free to propose your own ad and compete against mine! Cheers, Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Stack Overflow Open Source Advertising, 2H 2014

2014-06-18 Thread Jorge Cardoso Leitão
d the post. Maybe this should be clarified at some point. 2. Does Django project wants to participate in this program? (in the representative sense) It interpret your reply as that at least you don't oppose, so I try to bring this to django-dev after 1.7 is out. Regards, Jorge On Wed, Jun 1

Re: Stack Overflow Open Source Advertising, 2H 2014

2014-06-20 Thread Jorge Cardoso Leitão
n was migrated to django-dev <https://groups.google.com/forum/#!topic/django-developers/Km_VuDaI6rc>. Regards, Jorge On Thu, Jun 19, 2014 at 1:49 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > Hi Jorge, > > On Wed, Jun 18, 2014 at 3:21 PM, Jorge Cardoso Leitão < >

New version of Xapian-Haystack (with Python 3 support)

2015-11-16 Thread Jorge Cardoso Leitão
Other (development) milestones include: - deployed TravisCI against different Python, Django and Xapian versions; - added tests to existing untested code - deployed coveralls on the test build Hope you can save some time with it, Cheers, Jorge Leitão -- You received this message because you are

Re: Why using admin.py in apps?

2015-01-25 Thread Jorge Andrés Vergara Ebratt
You can make one, but imagine having 12-15 apps and managin all of them in one admin.py file, that would make debugging harder, the admin.py per app approach helps you keep all of your app's login inside the app, makes it easy to re-use it On Sun Jan 25 2015 at 2:47:18 PM Aliane Abdelouahab wrote

<    1   2   3   4   >