Re: why this type error showing in my payment mode

2023-06-12 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

Re: Doc make error: make: *** [Makefile:59: html] Error 127

2023-04-10 Thread Ezekiel Adetoro
2023 at 9:12:48 AM UTC-4 Ezekiel Adetoro wrote: > >> I want to generate the documentation for Django, I have the folloe error >> >> sphinx-build -b djangohtml -n -d _build/doctrees -D language=en . >> _build/html >> make: sphinx-build: No such file or directory >

Re: Doc make error: make: *** [Makefile:59: html] Error 127

2023-04-10 Thread Tim Graham
It looks like Sphinx isn't installed. Did you `pip install docs/requirements.txt`? On Monday, April 10, 2023 at 9:12:48 AM UTC-4 Ezekiel Adetoro wrote: > I want to generate the documentation for Django, I have the folloe error > > sphinx-build -b djangohtml -n -d _build/doctrees

Doc make error: make: *** [Makefile:59: html] Error 127

2023-04-10 Thread Ezekiel Adetoro
I want to generate the documentation for Django, I have the folloe error sphinx-build -b djangohtml -n -d _build/doctrees -D language=en . _build/html make: sphinx-build: No such file or directory make: *** [Makefile:59: html] Error 127 I have install all requirement and no error. Any help on

Re: Error

2023-01-22 Thread Tim Graham
y 22, 2023 at 2:48:48 PM UTC-5 arshakar...@gmail.com wrote: > When I want to auto generate models from already existing mongodb > collections by inspectdb it raises : # The error was: 'NoneType' object is > not subscriptable > Please, any solutions > -- You received th

Error

2023-01-22 Thread Arshak Araqelyan
When I want to auto generate models from already existing mongodb collections by inspectdb it raises : # The error was: 'NoneType' object is not subscriptable Please, any solutions -- You received this message because you are subscribed to the Google Groups "Django developers

Re: custom validation error in password_validators

2022-11-02 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
djusting it as required. On Mon, Oct 24, 2022 at 7:57 PM Mojtaba Akbari < mojtaba.akbari.2...@gmail.com> wrote: > i wanna have custom validation error in password_validators, > I can do this by rewriting the password validator classes and adding > desired messages through options

custom validation error in password_validators

2022-10-24 Thread Mojtaba Akbari
i wanna have custom validation error in password_validators, I can do this by rewriting the password validator classes and adding desired messages through options in the settings file and the password_validat section. something like this : AUTH_PASSWORD_VALIDATORS = [ { '

Feature Request: Customisation of constraint error messages in forms

2022-09-19 Thread David Sanders
's new constraint validation, constraints now get a violation_error_message <https://docs.djangoproject.com/en/4.1/ref/models/constraints/#violation-error-message> to declare custom user-friendly error messages. Currently, UniqueConstraints with a single field can additionally have fo

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-13 Thread charettes
>> >> >> If this is acceptable I could open a ticket / start a PR? >> >> -- >> David >> >> On Mon, 12 Sept 2022 at 23:26, charettes wrote: >> >>> Hello David >>> >>> > Would it be possible to group the message by

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-13 Thread Amol Rashinkar
on >> the ones with multiple fields[0] which is covered by the suite[1] but it >> doesn't look like UniqueConstraint.validate is providing code="unique" >> which might be the source of the issue you are encountering? >> >> [0] >> https://github.com

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-12 Thread David Sanders
> which might be the source of the issue you are encountering? > > [0] > https://github.com/django/django/blob/07ebef566f751e172e266165071081c7614e2d33/django/db/models/base.py#L1443-L1447 > [1] https://djangoci.com/job/django-coverage/HTML_20Coverage_20Report/ > > > Le dimanche 11

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-12 Thread charettes
/ Le dimanche 11 septembre 2022 à 22:02:35 UTC-4, shang.xia...@gmail.com a écrit : > Hi Simon, > > Cheers for the explanation. > > I'm ok with the error message being the "constraint is violated" generic > message as I agree with what you're saying. > >

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-11 Thread David Sanders
Hi Simon, Cheers for the explanation. I'm ok with the error message being the "constraint is violated" generic message as I agree with what you're saying. Would it be possible to group the message by field in the same way as standard unique? ie, w

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-11 Thread charettes
27;s doable for very simple cases but almost impossible for complex ones. We decided not to try to be clever about what the error message should be and opted to have a default that uses the constraint name when a condition is present while allowing developers to provide a `violation_error_mes

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-11 Thread Othniel Davidson
> > Test.objects.create(test="abc") > test = Test(test="abc") > test.validate_constraints() > django.core.exceptions.ValidationError: {'test': ['Test with this Test > already exists.']} > > However if a condition is added to the UniqueConstraint the valid

UniqueConstraint validation error message conditional vs non-conditional

2022-09-11 Thread David Sanders
s Test already exists.']} However if a condition is added to the UniqueConstraint the validation error is categorised as a non-field error: class Test(Model): test = CharField(max_length=255) class Meta: constraints = [ UniqueConstraint(fields=["test"], name=&

Re: Correct this django error????

2022-05-01 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

Correct this django error????

2022-04-30 Thread Arshad Noman
Page not found (404) Request Method:GETRequest URL:http://127.0.0.1:8000/delete_issue// Using the URLconf defined in LibraryManagementSystem.urls, Django tried these URL patterns, in this order: admin/ [name='index'] a dd_book/ [name='add_book'] view_books/ [name='view_books'] view_book

Re: For discussion: JSON-aware views for error responses

2022-04-23 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
+1 from me - At least for 400, 500, and CSRF errors, send JSON (or empty response) > back instead of HTML if the request is xhr or has JSON headers > It's possible to detect requests for JSON with request.accepts() , which the previous PR from vanadium23 predates. There's no way to detect "if th

Re: For discussion: JSON-aware views for error responses

2022-04-22 Thread vanadium23
I've done some work long ago. May be will help for someone. https://github.com/django/django/pull/8947 On Friday, 22 April 2022 at 08:53:56 UTC+3 Tobias Bengfort wrote: > +1 from me. > > On 14/04/2022 11.03, Ville Säävuori wrote: > > And to be clear, I understand we already have middleware APIs a

Re: For discussion: JSON-aware views for error responses

2022-04-21 Thread Tobias Bengfort
+1 from me. On 14/04/2022 11.03, Ville Säävuori wrote: And to be clear, I understand we already have middleware APIs and various settings to handle this but my point is that I think handling this in Django core (even as an optional setting or middleware) would be most useful and right way to d

Re: For discussion: JSON-aware views for error responses

2022-04-21 Thread Jacob Rief
I encountered this problem many times myself, so I'm +1 for this proposal. – Jacob -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an

For discussion: JSON-aware views for error responses

2022-04-21 Thread Ville Säävuori
Hello Django devs! I'm a long time Django user and nowadays work with sites where Django is mostly or only an API for the front end. I'm assuming this is not an exotic use case in 2022. One pain point I continue to come across over and over again is that Django by default only speaks text/html

Re: Documentation error

2021-12-16 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi, I don't think anyone doing the Chinese translations reads this mailing list. You could submit the change yourself on Transifex. The instructions for getting started are here: https://docs.djangoproject.com/en/dev/internals/contributing/localizing/ Maybe you'll also find some other ways to co

Documentation error

2021-12-14 Thread januw a
约束参考 | Django 文档 | Django (djangoproject.com) [image: [F$4`]REV%[OTWHT[FO4YSS.png] There is one missing `s` in the Chinese document -- You received this message because you are subscribed to the Google Groups "Django

Re: Error AudioField

2021-12-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
asy for them to answer. Thanks for your understanding and all the best, Adam On Mon, 13 Dec 2021 at 09:41, Shada Bahassan wrote: > Hello, I’m trying use AudioField in django and having the following error: > > *ERRORS:* > audiofield.AudioFile: (auth.E005) The permission codenamed >

Error AudioField

2021-12-13 Thread Shada Bahassan
Hello, I’m trying use AudioField in django and having the following error: *ERRORS:* audiofield.AudioFile: (auth.E005) The permission codenamed 'view_audiofile' clashes with a builtin permission for model 'audiofield.AudioFile'. This happens when trying migrations. -

Handling 404 Not Found Error when page number is out of page range

2021-10-28 Thread Dong-Geon Lee
This discussion is related with ticket 33233(https://code.djangoproject.com/ticket/33233) There is pagination in ListView and it show 404 error when page number is out of page range. It is reasonable but I think the options to control 404 exception always should be there. In current

Default values for required and error css classes

2021-10-26 Thread smi...@gmail.com
Hi all, I was looking at the code for `forms.Form` recently and noticed that there are a couple of hooks[1] to add CSS classes to required or erroneous forms. However, the ​`BaseForm` does not have a class level initialisation of these. The classes are then later added via a `hasattr` check.

Re: Error in Models Documentation

2021-10-10 Thread Ken Whitesell
This is not an error. The identified example does _not_ say that it will "return" those entries. It states it will _exclude_ entries matching either of those two conditions. Likewise, the SQL statement referenced is a negation ("and not") of the condition.

Error in Models Documentation

2021-10-10 Thread Pranav Mittal
Hello everyone. https://docs.djangoproject.com/en/3.2/ref/models/querysets/#django.db.models.query.QuerySet.exclude The second example mentions that the query will return entries *whose * pub_date* is later than 2005-1-3 **O**R **whose headline is “Hello”.* *But the equivalent SQL statement ment

Re: Help: Getting error when trying run test “RuntimeError” Database access not allowed

2021-08-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

Help: Getting error when trying run test “RuntimeError” Database access not allowed

2021-08-09 Thread Muhammad Shehzad
Image attached [image: ccc.png] -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups

Re: Internal Server Error after deploy into hosting (cPanel)

2021-04-19 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
asy for them to answer. Thanks for your understanding and all the best, Adam On Mon, 19 Apr 2021 at 10:32, Murugesan R wrote: > I have worked Django web site, and it's working successfully in the local > host . But got Internal Server Error after moving into live for eg : when > I pu

Internal Server Error after deploy into hosting (cPanel)

2021-04-19 Thread Murugesan R
I have worked Django web site, and it's working successfully in the local host . But got Internal Server Error after moving into live for eg : when I put *training.example.com/about* but working *training.example.com* . And page templates using common header and footer html codes, static

Re: runserver hangs forever, without log of error in console, in two cases

2021-02-09 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
imary key, Django should not assume it is, but it could warn or error when it detects a table has no PK. On Tue, 9 Feb 2021 at 09:41, Carlton Gibson wrote: > Hi Michael. Welcome! > > I think on both of these a general, "Yes please, if you want to work on > it, super!" i

Re: runserver hangs forever, without log of error in console, in two cases

2021-02-09 Thread Carlton Gibson
this is my first time posting, but I think bolstering django's > error ouput system could be helpful as last week I spent a good amount of > time debugging some issues related to django migrations > > 1. I began implementing DRF with DRF-Api-K > <https://florimondmanca.github

runserver hangs forever, without log of error in console, in two cases

2021-02-08 Thread Michael Calve
Hello, this is my first time posting, but I think bolstering django's error ouput system could be helpful as last week I spent a good amount of time debugging some issues related to django migrations 1. I began implementing DRF with DRF-Api-K <https://florimondmanca.g

Re: i encounter this error when i first try http://localhost:8000/ ( module 'json' has no attribute 'JSONDecoder')

2020-06-20 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

i encounter this error when i first try http://localhost:8000/ ( module 'json' has no attribute 'JSONDecoder')

2020-06-20 Thread Ibar Osman Ibrahim
Request Method: GET Request URL: http://localhost:8000/ Django Version: 3.0.7 Exception Type: AttributeError Exception Value: module 'json' has no attribute 'JSONDecoder' Exception Location: E:\Blogs\ll_env\lib\site-packages\django\contrib\messages\storage\cookie.py in , line 27 Python Execut

Re: I get a 404 error with “id-” in slug, I don't know if it's a bug or I'm doing something wrong.

2020-05-05 Thread Adam Johnson
asy for them to answer. Thanks for your understanding and all the best, Adam On Tue, 5 May 2020 at 18:31, Oleg Barbos wrote: > A 404 error with “id-” in slug on multilingual website with Indonesian > language in Django 3.0 > <https://stackoverflow.com/questions/61618166/a-404-error-with

I get a 404 error with “id-” in slug, I don't know if it's a bug or I'm doing something wrong.

2020-05-05 Thread Oleg Barbos
A 404 error with “id-” in slug on multilingual website with Indonesian language in Django 3.0 <https://stackoverflow.com/questions/61618166/a-404-error-with-id-in-slug-on-multilingual-website-with-indonesian-language> More details on https://stackoverflow.com/questions/61618166/a-404-erro

Re: While executing a Celery Task , Error Occured: 'AsyncResult' object is not iterable

2020-04-22 Thread Adam Johnson
run the Django web development > server on form submit , I am getting error message: 'AsyncResult' object is > not iterable”. > > Please suggest how to resolve this issue and proceed further. > > Here is my code snippet: sample List content which o

While executing a Celery Task , Error Occured: 'AsyncResult' object is not iterable

2020-04-22 Thread Dilipkumar Noone
two python lists after task execution. Based on list content I want to display pop up message. When I execute the task using celery and run the Django web development server on form submit , I am getting error message: 'AsyncResult' object is not iterable”. Please suggest how to re

Re: handle_uncaught_exception error logging

2020-04-12 Thread Gordon
a3e3284e6. > > That change was made in Django 2.1. You didn't say what version of Django > you're using. > > You'll have to give more details about your case and what's behaving > differently. > > On Sunday, April 12, 2020 at 8:57:12 AM UTC-4, G

Re: handle_uncaught_exception error logging

2020-04-12 Thread Tim Graham
ferently. On Sunday, April 12, 2020 at 8:57:12 AM UTC-4, Gordon wrote: > > Why was the error log removed from handle_uncaught_exception? I didn't > find mention about it but I've recently encountered a middleware causing a > 500 error and not getting a traceback log was u

handle_uncaught_exception error logging

2020-04-12 Thread Gordon
Why was the error log removed from handle_uncaught_exception? I didn't find mention about it but I've recently encountered a middleware causing a 500 error and not getting a traceback log was unexpected. https://github.com/django/django/blob/stable/2.0.x/django/core/handlers/excepti

Re: Error while creating an API

2020-04-09 Thread Adam Johnson
ikely to answer your support query with their limited time and energy. For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/3.0/faq/help/ Thanks for your understanding, Adam On Thu, 9 Apr 2020 at 16:50, Kushal Neupane wrote: > Dear all, i got err

Re: Error while creating an API

2020-04-09 Thread Abhijeet Viswa
p/ <https://docs.djangoproject.com/en/3.0/faq/help/> Regards and all the best, Abhijeet PS: All that being said, I think your problem is because the tableOrder module/app doesn't exist. On 09/04/20 9:20 pm, Kushal Neupane wrote: Dear all, i got error while making an API. Help me C:

Error while creating an API

2020-04-09 Thread Kushal Neupane
Dear all, i got error while making an API. Help me C:\Users\Kushal Neupane\Desktop\1. Project Folder - [SMART RESTAURANT POINT OF SALE] - [KUSHAL NEUPANE]\1. Project Artefact\5. Development\restro_app>python manage.py runserver Watching for file changes with StatReloader Performing system che

Re: Error with running test suite while contributing to django

2020-01-24 Thread Adam Johnson
...sss..ss...ss...s.s...s.sss......Internal > Server Error: /custom_r

Error with running test suite while contributing to django

2020-01-24 Thread Muhammed abdul Quadir owais
..s.s...s.sss..Internal Server

Error with running test suite while contributing to django

2020-01-24 Thread Muhammed abdul Quadir owais
..s.s...s.sss..Internal Server

Re: Getting error while running tests for postgis

2020-01-23 Thread Tim Graham
27;PASSWORD':'password', > 'HOST': '127.0.0.1', > 'PORT': '5432', > }, > 'other': { > 'ENGINE': 'django.contrib.gis.db.backends.postgis', > 'NAME':'otherd&

Re: Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
I am working on a ticket need to run tests for postgis, isn't it concerned with the development of django itself? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop rec

Re: Getting error while running tests for postgis

2020-01-23 Thread Confidence Yobo
x27;: { > 'ENGINE': 'django.contrib.gis.db.backends.postgis', > 'NAME':'otherd', > 'USER': 'user', > 'PASSWORD':'password', > 'HOST': '127.0.0.1', >

Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
s', 'NAME':'otherd', 'USER': 'user', 'PASSWORD':'password', 'HOST': '127.0.0.1', 'PORT': '5432', } } SECRET_KEY = 'django_tests_secret_key'

Re: Improving error message for admin.E202

2019-12-16 Thread Mariusz Felisiak
It's safe to make change to warning messages. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr..

Improving error message for admin.E202

2019-12-16 Thread Shubham Singh
e. To do so the error message in the ValueError raised by the _get_foreign_key() <https://github.com/django/django/blob/4161e35048d91fa84abf4dd2ebf64e04e0c37ca4/django/forms/models.py#L988> method must be changed. My concern is, if this change is made then whenever the method will raise

Re: id the field is required - error in Django formset

2019-10-03 Thread Adam Johnson
oreignKey(User, on_delete=models.CASCADE) > Subject = models.ForeignKey(Subject, on_delete=models.CASCADE) > marks = models.IntegerField() > > Here am creating a formset for Survey_Mark and my form should get marks of > all Subject. By using Subject_Assignment i can get all the subje

Re: Work in progress (WIP), ticket #28935, Template error raised in an {% extends %} child template shows incorrect source location on debug page

2019-09-12 Thread Carlton Gibson
> When "extends" and "include" template tags are used together in same html > page, if "include" tries to include nonexistent html file, > error page gives incorrect information (filename and line number) under the > heading "Error during template ren

Work in progress (WIP), ticket #28935, Template error raised in an {% extends %} child template shows incorrect source location on debug page

2019-09-12 Thread Min ho Kim
. Please have a look. To summarise the issue #28935: When "extends" and "include" template tags are used together in same html page, if "include" tries to include nonexistent html file, error page gives incorrect information (filename and line number) under the he

Re: Error websocket 404

2019-08-03 Thread fatemeh ahmadzadeh
orwarded_for; >> >> proxy_set_header X-Forwarded-Host $server_name; >> >> >> >> >> >> >> >> } >> >> >> } >> >> >> according to this page >> >> https://avilpage.com/20

Re: Error websocket 404

2019-07-15 Thread Adam Johnson
er X-Forwarded-For $proxy_add_x_forwarded_for; >> >> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; >> >> proxy_set_header X-Forwarded-Host $server_name; >> >> >> >> >> >> >> >> } &g

Re: Error websocket 404

2019-07-11 Thread Aldian Fazrihady
ording to this page > > https://avilpage.com/2018/05/deploying-scaling-django-channels.html > > http://masnun.rocks/2016/11/02/deploying-django-channels-using-daphne/ > <http://www.google.com/url?q=http%3A%2F%2Fmasnun.rocks%2F2016%2F11%2F02%2Fdeploying-django-channel

Re: Web Socket Error 404

2019-07-11 Thread Adam Johnson
arded_for; > > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > > proxy_set_header X-Forwarded-Host $server_name; > > > > > > > > } > > > } > > > according to this page > > https://avilpage.com

Error websocket 404

2019-07-10 Thread Fatemeh Ahmadzadeh
F&sa=D&sntz=1&usg=AFQjCNEaeciqSaEn51NpmJu2n4svRm4B6w> the HTTP request is wll but I have Errors in websocket in console WebSocket connection to 'ws://domain/ws/' failed: Error during WebSocket handshake: Unexpected response code: 404 server is centos with directadmin

Web Socket Error 404

2019-07-10 Thread Fatemeh Ahmadzadeh
/deploying-scaling-django-channels.html http://masnun.rocks/2016/11/02/deploying-django-channels-using-daphne/ the HTTP request is wll but I have Errors in websocket in console WebSocket connection to 'ws://domain/ws/' failed: Error during WebSocket handshake: Unexpected response c

Re: help with this migrations error the site is running i cant drop the database

2019-06-04 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer yo

help with this migrations error the site is running i cant drop the database

2019-06-04 Thread Fastmobile Fastmobile
python manage.py makemigrations Traceback (most recent call last): File "manage.py", line 15, in execute_from_command_line(sys.argv) File "/home/Ogdams/.virtualenvs/my-virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.ex

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-28 Thread Tom Forbes
= [ >> path('', views.index, name=index), >> ] >> >> >>> On Mon, May 27, 2019 at 8:32 PM Madhur Kabra wrote: >>> I am getting the url conf error, I have attached the relevant files. >>> Thanks for the assistance >>> --

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-28 Thread Madhur Kabra
l('', views.index, name=index), > ] > > can u replace with this > > from django.urls import path > from . import views > > urlpatterns = [ > path('', views.index, name=index), > ] > > > > On Mon, May 27, 2019 at 8:32 PM Madhur Kabra &g

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Dimple Mathew
and also in import for include change it to from django.conf.urls import url,include On Monday, May 27, 2019 at 8:17:47 PM UTC+5:30, Madhur Kabra wrote: > > I am getting the url conf error, I have attached the relevant files. > Thanks for the assistance > -- You received this mes

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread rajan khadka
27, 2019 at 8:32 PM Madhur Kabra wrote: > I am getting the url conf error, I have attached the relevant files. > Thanks for the assistance > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)&q

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Dimple Mathew
Hey update the code to this: urlpatterns = [ url('^$', views.index, name=index), ] this will tell the start and end of url. On Monday, May 27, 2019 at 8:17:47 PM UTC+5:30, Madhur Kabra wrote: > > I am getting the url conf error, I have attached the relevant files.

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Adam Johnson
tack Overflow should help with the error you're seeing: https://duckduckgo.com/?q=python+circular+import&ia=web Also if you haven't read it, please take a look at Django's Code of Conduct: https://www.djangoproject.com/conduct/ . These are our "ground rules" for worki

ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Madhur Kabra
I am getting the url conf error, I have attached the relevant files. Thanks for the assistance -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving e

Re: Form not valid error

2019-05-15 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer yo

Form not valid error

2019-05-08 Thread Dimple Mathew
I am trying to pass data from a form to view, but form is not valid. I have 3 drop-downs on this form on clicking on submit, if any relavant data is available in the database it should be loaded on the template. Basically this form is a set of filters that load data based on selection. views.py

Re: Trying to transfer some data in Sec-websocket-protocol. But the browser breaks the connection with error ----Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no

2019-03-05 Thread Adam Johnson
> Try django channels for websocket and handshaking > > On Wed, 6 Mar, 2019, 12:02 AM Abhishek Chauhan, > wrote: > >> Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' >> header but no response was received. How can i reply to subproto

Re: Trying to transfer some data in Sec-websocket-protocol. But the browser breaks the connection with error ----Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no

2019-03-05 Thread samarth parashari
Try django channels for websocket and handshaking On Wed, 6 Mar, 2019, 12:02 AM Abhishek Chauhan, wrote: > Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' > header but no response was received. How can i reply to subprotocol request > so that the br

Trying to transfer some data in Sec-websocket-protocol. But the browser breaks the connection with error ----Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no res

2019-03-05 Thread Abhishek Chauhan
Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received. How can i reply to subprotocol request so that the browser does not give me the above error. -- You received this message because you are subscribed to the Google Group

Re: Post mortem on today's packaging error.

2019-02-12 Thread Carlton Gibson
Hi All, Thanks for all the comments. Cloning to a tmp folder and checking out a specific commit is both quick and easy. That's not a bad idea: it should eliminate the point of failure that occurred here. (The `git clean` step should do that too, we use the `fdx` flags to eliminate ignored f

Re: Post mortem on today's packaging error.

2019-02-12 Thread Luke Plant
I'm not certain here because switching between branches doesn't leave the repos in an unclean state, and I'm pretty sure it was clean, but this seems the most likely error. Q: is there a nice git command to "assert I'm at exactly this tag"? Steps I've ta

Re: Post mortem on today's packaging error.

2019-02-12 Thread Aleksi Häkli
Jazzband (https://jazzband.co/about/releases) uses an approach that builds and pushes the PyPI packages to an intermediate repository that is owned by the Jazzband organization. The Jazzband intermediate repository then allows publishing them from the Jazzband organization to PyPI via a push-bu

Re: Post mortem on today's packaging error.

2019-02-11 Thread Florian Apolloner
On Monday, February 11, 2019 at 11:01:55 PM UTC+1, Adam Johnson wrote: > > Jamesie’s suggestion to use CI is also valid but a bunch more work. I > guess the main advantage is you get a blank slate container to work in, > which a fresh checkout to a temp dir provides most of the gain for less >

Re: Post mortem on today's packaging error.

2019-02-11 Thread Adam Johnson
Thanks for the detailed post mortem Carlton. Andrew’s suggested approach to do at least a checkout to a fresh directory makes sense to me. Even got checkout and clean aren’t enough to bring an exisiting checkout folder to the same state as git won’t touch files in the gitignore. Note you can do a

Re: Post mortem on today's packaging error.

2019-02-11 Thread Jamesie Pic
Hi Carlton ! Seems like you're having as much fun as I had when doing releases manually :D Just sharing some food for thought here. Nowadays I have it automated and rely on setupmeta to keep myself away from touching setup.py, and just have to push git tags : http://github.com/zsimic/setupmeta T

Re: Post mortem on today's packaging error.

2019-02-11 Thread Andrew Godwin
hes doesn't leave the > repos in an unclean state, and I'm pretty sure it was clean, but this seems > the most likely error. > > > Q: is there a nice git command to "assert I'm at exactly this tag"? > > > Steps I've taken: > > * Moved the `git

Post mortem on today's packaging error.

2019-02-11 Thread Carlton Gibson
e it was clean, but this seems the most likely error. Q: is there a nice git command to "assert I'm at exactly this tag"? Steps I've taken: * Moved the `git clean` step into the helper script used to build the packages. No chance of then missing it. * Added a `diff`-s

Re: database configuration error(django and mysql)

2019-01-29 Thread Nick Perry (Souldeux)
reload the page with > the form, because the token is rotated after a login. > You're seeing the help section of this page because you have DEBUG = True in > your Django settings file. Change that to False, and only the initial error > message will be displayed. > You can

database configuration error(django and mysql)

2019-01-29 Thread Desh Deepak
rue in your Django settings file. Change that to False, and only the initial error message will be displayed. You can customize this page using the CSRF_FAILURE_VIEW setting. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributi

Re: A server error occurred. Please contact the administrator

2018-11-06 Thread Adam Johnson
1:8000/admin i am getting error i.e > > A server error occurred. Please contact the administrator. > what is the reason and hat could be the solution. please help. > > Please check screen shot below > > [image: 1.PNG] > > and blow is the screen shot of http://127.0.0.1:8

A server error occurred. Please contact the administrator

2018-11-06 Thread Muhammad Tahir
hello everybody, when i try to access http://127.0.0.1:8000/admin i am getting error i.e A server error occurred. Please contact the administrator. what is the reason and hat could be the solution. please help. Please check screen shot below [image: 1.PNG] and blow is the screen shot of http

Re: Cast with AutoField results in a 'type does not exist' error in PostgreSQL 10.1

2018-07-12 Thread Carlton Gibson
Hi Andrew, Reading the description, it seems like you may have hit a bug. Could you possibly put this into an actual test case and open a PR (plus Trac ticket) with that assuming the test fails? With code in hand it's much easier to assess (and fix). Thanks. Kind Regards, Carlton -- Y

Cast with AutoField results in a 'type does not exist' error in PostgreSQL 10.1

2018-07-11 Thread Andrew Standley
oField as part of a join a "psycopg2.ProgrammingError: type "serial" does not exist" error is thrown by the connection. Manually 'correcting' for this and using an IntegerField in the query produces the correct results. This seems like a bug to me, but I just want to

Re: "Variables and attributes may not begin with underscores" error

2018-06-30 Thread Tim Graham
I think the reason is that underscore-prefixed attributes are generally considered to be private. Accessing them in templates doesn't seem like good practice. On Friday, June 29, 2018 at 6:44:56 PM UTC-4, Gregory Kaleka wrote: > > The docs do mention it on the more complete template api page >

Re: "Variables and attributes may not begin with underscores" error

2018-06-29 Thread Gregory Kaleka
The docs do mention it on the more complete template api page , though there isn't an explanation as to the reason. I would say it should at least be added to the template docs you link to. On Friday, June 29, 2018

"Variables and attributes may not begin with underscores" error

2018-06-29 Thread Raffaele Salmaso
Hi, anyone knows the rationale for forbidding variables and attributes with an initial underscore in django templates? This limitation is here from day 0 https://github.com/django/django/blob/ed114e15106192b22ebb78ef5bf5bce72b419d13/django/core/template.py#L261 and docs doesn't mention it (or simpl

  1   2   3   4   5   6   7   8   >