Re: Django urls error

2023-04-15 Thread 'Kasper Laudrup' via Django users
e out how that could be. Kind regards, Kasper Laudrup -- 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 th

Re: Django urls error

2023-04-15 Thread Karthik V A
app/urls.py >> >> >> >> from django.urls import path >> from .views import hello_delhi_capitals >> >> urlpatterns = [ >> path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'), >> ] >> > -- > You received this message

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
[ >>> path('admin/', admin.site.urls), >>> path('hello/', include('myapp.urls')), >>> ] >>> >>> >>> >>> myapp/urls.py >>> >>> >>> >>> from django.urls import path >>> from .views import hello_del

Re: Django urls error

2023-04-15 Thread b1t
patterns = [ >>> path('admin/', admin.site.urls), >>> path('hello/', include('myapp.urls')), >>> ] >>> >>> >>> >>> myapp/urls.py >>> >>> >>> >>> from django.urls import path >>> from .views import he

Re: Django urls error

2023-04-15 Thread አብርሃም መስፍን
t; >>>>> from django.contrib import admin >>>>> from django.urls import path, include >>>>> >>>>> urlpatterns = [ >>>>> path('admin/', admin.site.urls), >>>>> path('hello/', include('myapp.urls')), >&g

Re: Django urls error

2023-04-15 Thread Shaikh Mudassir
gt;>> path('admin/', admin.site.urls), >>>> path('hello/', include('myapp.urls')), >>>> ] >>>> >>>> >>>> >>>> myapp/urls.py >>>> >>>> >>>> >>>> from django.urls import path

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
t; from django.urls import path > from .views import hello_delhi_capitals > > urlpatterns = [ > path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'), > ] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gr

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
rom django.urls import path, include >> >> urlpatterns = [ >> path('admin/', admin.site.urls), >> path('hello/', include('myapp.urls')), >> ] >> >> >> >> myapp/urls.py >> >> >> >> from django.urls import path >> fr

Re: Django urls error

2023-04-15 Thread b1t
t; > > > myapp/urls.py > > > > from django.urls import path > from .views import hello_delhi_capitals > > urlpatterns = [ > path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'), > ] > -- You received this message because you are subscribed to the Go

Re: Django urls error

2023-04-15 Thread b1t
t; ] > > > > myapp/urls.py > > > > from django.urls import path > from .views import hello_delhi_capitals > > urlpatterns = [ > path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'), > ] > -- You received this message because you are subscribed

Django forms data save using ajax

2023-04-15 Thread Prashanth Patelc
Hi all, How to save employees information using ajax with django form , id should automatic generation ? -- 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

Re: Django urls error

2023-04-15 Thread lalit upadhyay
t;> from django.contrib import admin >>>> from django.urls import path, include >>>> >>>> urlpatterns = [ >>>> path('admin/', admin.site.urls), >>>> path('hello/', include('myapp.urls')), >>>> ] >>>> >>&

Re: Django urls error

2023-04-15 Thread Karthik V A
go.urls import path, include >>> >>> urlpatterns = [ >>> path('admin/', admin.site.urls), >>> path('hello/', include('myapp.urls')), >>> ] >>> >>> >>> >>> myapp/urls.py >>> >>> >>

Re: Django urls error

2023-04-14 Thread Muhammad Juwaini Abdul Rahman
> > myapp/urls.py > > > > from django.urls import path > from .views import hello_delhi_capitals > > urlpatterns = [ > path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'), > ] > > -- > You received this message because you are subscribed to the

django...@googlegroups.com

2023-04-14 Thread WILSON TALENGA
Hello, i have an issue with my django project, the created students are not reflecting when i run the server? below is my views.py and index.html what could the issue be? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: Tutorial for a Django web store

2023-04-14 Thread Sebastian Jung
Get django oscar sandbox and most things are allready implemented Michael Starr schrieb am Mi., 12. Apr. 2023, 08:02: > Does anyone know of a good tutorial (preferably with github files) that > teaches you how to make a web store in Django? It seems like a basic > literacy skill f

Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup' via Django users
On 14/04/2023 10.17, WILSON TALENGA wrote: Hey guys, i need help, i have created my django project, added students to the system as admin but they don't reflect when i run the server. what could the issue be. below is views.py and index.html Start a new thread instead of replying

Re: pdf django

2023-04-14 Thread Raeesh Rayeen
df en folie >> >> >> https://www.clictune.com/links/index#:~:text=https%3A//www.clictune.com/i1wN >> >> >> >> django >> >> https://www.clictune.com/i1wM >> >> >> >> des livres python en fr et ang. >> >> https:

Re: Report a Django bug how

2023-04-14 Thread WILSON TALENGA
Hey guys, i need help, i have created my django project, added students to the system as admin but they don't reflect when i run the server. what could the issue be. below is views.py and index.html On Friday, April 14, 2023 at 11:07:25 AM UTC+3 Kasper Laudrup wrote: > On 14/04/2023 01

Re: Tutorial for a Django web store

2023-04-14 Thread Adewunmi Oladele
the same author for more advanced users. >> check on: >> https://www.amazon.com.br/Django-Beginners-Build-Websites-Python/dp/1735467200 >> >> >> Best regards >> >> -- >> You received this message because you are subscribed to the Google Groups >>

Re: Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-14 Thread TITAS ONLINE MARKET
Setting up a new Django project doesn't require much code copying, my friend. This can be done more simply and easily. You follow the new tutorial. Also if you have problem knock me I don't know much but I would be happy to discuss with you. On Tuesday, April 11, 2023 at 6:44:53 PM UTC+6

Re: Report a Django bug how

2023-04-14 Thread rhanzess guerrero
Hello bro, did you mean that you have an app with django and the images that you have in the app are not displayed El jue, 13 abr 2023 a las 18:07, Michael Starr () escribió: > Hi, I double checked my code and Django is not displaying images. I'd like > to report the bug but

Re: Report a Django bug how

2023-04-14 Thread Sebastian Jung
I have no Problem with Display Images. Most time i think this is a missconfiguration in settings.py Michael Starr schrieb am Fr., 14. Apr. 2023, 01:06: > Hi, I double checked my code and Django is not displaying images. I'd like > to report the bug but I need to be a django employee

Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup' via Django users
On 14/04/2023 01.06, Michael Starr wrote: Hi, I double checked my code and Django is not displaying images. I'd like to report the bug but I need to be a django employee to do that. So, if anyone knows anyone on linkedin that works for django, tell them images don't display (on an operating

Report a Django bug how

2023-04-13 Thread Michael Starr
Hi, I double checked my code and Django is not displaying images. I'd like to report the bug but I need to be a django employee to do that. So, if anyone knows anyone on linkedin that works for django, tell them images don't display (on an operating system). Michael -- You received

Re: Tutorial for a Django web store

2023-04-13 Thread Bradie Poa
wrote: > Helo Michael, > > I've been studying this e-book and I think it's amazing. > > There is another books from the same author for more advanced users. > check on: > https://www.amazon.com.br/Django-Beginners-Build-Websites-Python/dp/1735467200 > > > Best regards > &

Re: pdf django

2023-04-13 Thread christian Damon
merci Le jeu. 13 avr. 2023 à 14:47, Olivier Dappremee a écrit : > démarrer de zéro avec python. > https://www.clictune.com/i1wR > > > pdf en folie > > > https://www.clictune.com/links/index#:~:text=https%3A//www.clictune.com/i1wN > > > > django > >

pdf django

2023-04-13 Thread Olivier Dappremee
démarrer de zéro avec python. https://www.clictune.com/i1wR pdf en folie https://www.clictune.com/links/index#:~:text=https%3A//www.clictune.com/i1wN django https://www.clictune.com/i1wM des livres python en fr et ang. https://www.clictune.com/i1wh -- You received this message

Re: Tutorial for a Django web store

2023-04-13 Thread Alexandre Felgueiras
Helo Michael, I've been studying this e-book and I think it's amazing. There is another books from the same author for more advanced users. check on: https://www.amazon.com.br/Django-Beginners-Build-Websites-Python/dp/1735467200 Best regards -- You received this message because you

Tutorial for a Django web store

2023-04-12 Thread Michael Starr
Does anyone know of a good tutorial (preferably with github files) that teaches you how to make a web store in Django? It seems like a basic literacy skill for Django programming. Let me know. Thanks. Michael -- You received this message because you are subscribed to the Google Groups

Re: Web portal by Django

2023-04-11 Thread Chetan Ganji
ganji.che...@gmail.com http://ryucoder.in On Tue, Apr 11, 2023 at 6:14 PM Ananya Agrawal wrote: > How to build a web portal for license information management by using > django? > > -- > You received this message because you are subscribed to the Google Groups > &q

Re: Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-11 Thread Michael Starr
You probably weren't careful enough following instructions. The beginner's tutorial is self-contained and allows a complete Django project to be made. Re-read everything word-for-word and then come back with some hypotheses for us to test for you. Michael On Tuesday, April 4, 2023 at 9:44:38

Web portal by Django

2023-04-11 Thread Ananya Agrawal
How to build a web portal for license information management by using django? -- 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

Re: Scheduler with Django on Windows platform

2023-04-10 Thread Oyedele Yusuff
You can use ap-scheduler library or celery with django celery beat On Tue, Mar 28, 2023, 10:27 AM Robbi Nespu wrote: > Hi Django developers, > I am looking for any package that can do scheduler job. I am used with > "Django-crontab" but I can't use it on windows platform. &

Re: Scheduler with Django on Windows platform

2023-04-09 Thread Harsh Vyas
Try, Django Q On Tuesday, 28 March 2023 at 14:57:50 UTC+5:30 Robbi Nespu wrote: > Hi Django developers, > I am looking for any package that can do scheduler job. I am used with > "Django-crontab" but I can't use it on windows platform. > > Do you guys have any sugg

Re: Django Admin does not use `get_FOO_display`

2023-04-05 Thread Opeoluwa Fatunmbi
The reason why your overridden get_status_display method is not being applied in the Django admin is because the admin's display_for_field function uses the flatchoices attribute of the field to retrieve the display value of the field's current value. The flatchoices attribute is a list of two

Re: Django audio recording issue: receiving Bad Request error

2023-04-04 Thread Ahmed omar miladi
i have used it On Tue, 4 Apr 2023 at 17:40, ritik sahoo wrote: > Have you used template inheritance? > > > > > On Mon, 27 Mar, 2023, 9:27 pm Yong Zu Yi, <1208z...@gmail.com> wrote: > >> I am new to Django and also my first time building an application. I a

Re: Django error while running

2023-04-04 Thread 'JOSE GONZALEZ SANCHEZ' via Django users
t;> Is almost always is due to a problem with your settings INSTALLED_APPS, >>> particularly if django\apps\registry.py Is further up the trace. >>> >>> A missing comma between items, perhaps? >>> >>> It would indeed be nice if Django would output a more se

Django Admin does not use `get_FOO_display`

2023-04-04 Thread 'Ibrahim Abou Elenein' via Django users
I had a model having a field that uses Choices status = FSMField(default=STATUSES.PENDING, choices=STATUSES, protected=True) I did override the `get_status_display ` and its effect was not applied in the Django admin I looked up Django code and found ``` def display_for_field(value

Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-04 Thread Tanveer
0 <https://stackoverflow.com/posts/75924374/timeline> I know this question has been asked before, but I haven't found an answer that solves my situation. I'm looking at the Django tutorial, and I've set up the first URLs exactly as the tutorial has it, word for word, but when I go to

Re: Django audio recording issue: receiving Bad Request error

2023-04-04 Thread ritik sahoo
Have you used template inheritance? On Mon, 27 Mar, 2023, 9:27 pm Yong Zu Yi, <1208z...@gmail.com> wrote: > I am new to Django and also my first time building an application. I am > building an audio journaling application with Django. > What I am doing here is a recorder.

Re: I am struggling with calling consumer.py function from views to consumer in django here ismy code. Please help me. I am calling Asyncwebsocketconsumer

2023-04-02 Thread MOHAMED SABEEH VADAKKATH VALAPPIL
nnel_layer() async_to_sync(channel_layer.group_send)( "notification_to_admin", { 'type': 'send_notification', 'message': json.dumps(message) } ) "when using Django Channels, you need to use an ASGI server instead of a traditional W

I am struggling with calling consumer.py function from views to consumer in django here ismy code. Please help me. I am calling Asyncwebsocketconsumer

2023-04-02 Thread 'Sneha Vishwakarma' via Django users
( 'kafka', { 'type': 'kafka.message', 'message': 'Test message' } )) return HttpResponse('Done') -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Roles and Permissions in python Django

2023-04-02 Thread Muhammed Lawal
Can you provide your Views code? By the way, if you are using DRF, you can use the "permission classes" or "permission decorators". Best regards. On Sat, 1 Apr 2023, 7:53 p.m. Daisi Caroline, wrote: > Hello friends i am doing a django project and i am stack on roles

Re:Roles and Permissions in python Django

2023-04-01 Thread Daisi Caroline
Hello friends i am doing a django project and i am stack on roles and permissions.This is what i am supposed to do. I am supposed to do the roles and permissions. So I have done the roles but now permissions is the problem. For example the organisation admin and the local admin when logged

Re: Django-allauth & Facebook login

2023-04-01 Thread Namanya Daniel
Follow the following link, it shows you how to create a custom ssl certificate and how to run ssl server https://medium.com/@millienakiganda/creating-an-ssl-certificate-for-localhost-in-django-framework-45290d905b88 On Sat, 1 Apr 2023 at 15:32, Marcelo A. Robin wrote: > Hi, I'm trying to

Django-allauth & Facebook login

2023-04-01 Thread Marcelo A. Robin
Hi, I'm trying to use django-allauth to create a facebook login system. i managed to get it all done but in my local test i get an error where facebook tells me my app path is not safe. I understand that my http://localhost is missing the https://localhost. this is so ? How can I add https

Re: Django Hosting on HTTPS with nginix AWS

2023-03-30 Thread Himanshu Shekhar Mohapatra
8, 2023 at 3:22 PM Himanshu Shekhar Mohapatra < > himanshu.mohapatr...@gmail.com> wrote: > >> Hi all, >> >> Please help me with any curated list of steps using which I can host >> Django application in aws ubuntu with https certificate. >> >> Tried a lot o

AW: Scheduler with Django on Windows platform

2023-03-30 Thread Michael Schmeinck
Hi Robbi, one solution to create a platform independent scheduler is to use the package Django-background-tasks. see: https://django-background-tasks.readthedocs.io/en/latest/ This solution works for me. Greetings and good luck Michael Von: django-users@googlegroups.com im Auftrag von

Re: Django Hosting on HTTPS with nginix AWS

2023-03-30 Thread data storage
hii,Himanshu https://www.youtube.com/watch?v=dBTIAfi7y5U On Tue, Mar 28, 2023 at 3:22 PM Himanshu Shekhar Mohapatra < himanshu.mohapatr...@gmail.com> wrote: > Hi all, > > Please help me with any curated list of steps using which I can host > Django application in aws

Re: Django Hosting on HTTPS with nginix AWS

2023-03-28 Thread Muhammad Juwaini Abdul Rahman
If you're using nginx and gunicorn in Ubuntu 22.04, you can follow the instructions in this article: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04 To add HTTPS, you can use let's encrypt: https://letsencrypt.org/getting

Re: Django Hosting on HTTPS with nginix AWS

2023-03-28 Thread shailesh sachan
ated list of steps using which I can host > Django application in aws ubuntu with https certificate. > > Tried a lot of tutorials but something is missing somewhere. > > Thanks a lot! > -- > Sent from Gmail Mobile > -- You received this message because you are subscribed to

Django Hosting on HTTPS with nginix AWS

2023-03-28 Thread Himanshu Shekhar Mohapatra
Hi all, Please help me with any curated list of steps using which I can host Django application in aws ubuntu with https certificate. Tried a lot of tutorials but something is missing somewhere. Thanks a lot! -- Sent from Gmail Mobile -- You received this message because you are subscribed

Re: Scheduler with Django on Windows platform

2023-03-28 Thread Michael kosy
Try, https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html On Tue, Mar 28, 2023, 10:27 AM Robbi Nespu wrote: > Hi Django developers, > I am looking for any package that can do scheduler job. I am used with > "Django-crontab" but I can't use it on windo

Scheduler with Django on Windows platform

2023-03-28 Thread Robbi Nespu
Hi Django developers, I am looking for any package that can do scheduler job. I am used with "Django-crontab" but I can't use it on windows platform. Do you guys have any suggestion? -- Regards Robbi Nespu PGP: D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA -- You received th

Re: Django audio recorder Bad request: /record-audio/

2023-03-28 Thread Yong Zu Yi
present, >>> create a filename based on the current user's username and the current date >>> and time, and save the audio file to the server using the open function >>> and a for loop to write the file in chunks. >>> >>> I hope this helps you solve the i

Re: Django error while running

2023-03-27 Thread Makan Dianka
; >> Any traceback with this at the end: >> >> _bootstrap._gcd_import(name[level..], package, level) >> >> Is almost always is due to a problem with your settings INSTALLED_APPS, >> particularly if django\apps\registry.py Is further up the trace. >> >> A m

Django audio recording issue: receiving Bad Request error

2023-03-27 Thread Yong Zu Yi
I am new to Django and also my first time building an application. I am building an audio journaling application with Django. What I am doing here is a recorder. When user press the recorder button, it will direct to record.html with four buttons, Start, Pause, Resume and Stop. When the user

Join and ask any python, Django, DevOps related questions

2023-03-24 Thread Joseph Bashorun
Here's my group. Get premium help here free with your codes https://chat.whatsapp.com/LdyIDGJKFPGIaHDdJidV2X -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: Failed to send Email by Django

2023-03-24 Thread 'Kasper Laudrup' via Django users
On 24/03/2023 05.16, bing wrote: I am using the email module in Django to inform of users with their registration. Sometimes it can send email successfully, but more often, it fails. I searched for many solutions, but did not change this situation. That is not really related to Django

Re: Django Admin

2023-03-24 Thread Jd Mehra
URE_FRAME_DENY = True >>> SECURE_HSTS_SECONDS = 2592000 >>> SECURE_HSTS_INCLUDE_SUBDOMAINS = True >>> SECURE_HSTS_PRELOAD = True >>> X_FRAME_OPTIONS = 'SAMEORIGIN' >>> SECURE_REFERRER_POLICY = 'same-origin >>> >>> On Saturday, March

Re: Help on Django + Plotly integration

2023-03-24 Thread Jd Mehra
errors there? > > - Ryan > > > On March 23, 2023 6:47:19 AM CDT, Praveen Kumar > wrote: >> >> Hello Kasper, >> >> I have followed following link to get portly chart: >> >> >> https://hackmamba.io/blog/2022/03/quickly-create-interactive-ch

Re: Help in django. I want to upload files

2023-03-24 Thread Jd Mehra
gt;> form = PostForm() >> return render(request, 'uploadAttendance.html', {'form': form,'shop' >> : shop}) >> >> forms.py >> class PostForm(forms.ModelForm): >> class Meta: >> model = Post >> fields = ['e-reso

Failed to send Email by Django

2023-03-24 Thread bing
I am using the email module in Django to inform of users with their registration. Sometimes it can send email successfully, but more often, it fails. I searched for many solutions, but did not change this situation. The following is what I have configured: settings.py: EMAIL_BACKEND

Re: Django Admin

2023-03-23 Thread Ikrombek
2000 >> SECURE_HSTS_INCLUDE_SUBDOMAINS = True >> SECURE_HSTS_PRELOAD = True >> X_FRAME_OPTIONS = 'SAMEORIGIN' >> SECURE_REFERRER_POLICY = 'same-origin >> >> On Saturday, March 11, 2023 at 7:04:40 PM UTC+1 James Hunt wrote: >> >>> Hi there. I am fairly new to Djan

Re: how i use django in blockchain.

2023-03-23 Thread Mike Dewhirst
transaction hash to user who filled the FIR form. how i can integrate brownie and django so that i can show transaction hash to user ?? 1. Put the hash into the context dict in your view for example, context["hash"] = r"""{0}""".format(hash) 2. Insert the

Help in django. I want to upload files

2023-03-23 Thread Shubhi Pandey
e-resource'] -- 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 on the web visit https:/

how i use django in blockchain.

2023-03-23 Thread Shubham Lahane
can integrate brownie and django so that i can show transaction hash to user ?? .plz help me i have very less time. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: Help on Django + Plotly integration

2023-03-23 Thread Praveen Kumar
Hello Kasper, I have followed following link to get portly chart: https://hackmamba.io/blog/2022/03/quickly-create-interactive-charts-in-django/ But I'm not getting end result. Please find below the structure that I have made. Please let me know if I'm missing anything. [image: Screenshot

Re: Help on Django + Plotly integration

2023-03-22 Thread 'Kasper Laudrup' via Django users
On 22/03/2023 15.29, Praveen Kumar wrote: Hi Team, I need help in implementing Plotly with Django for interactive dashboards. Please suggest. Try following this: https://googlethatforyou.com?q=plotly%20django Kind regards, Kasper Laudrup -- You received this message because you

Help on Django + Plotly integration

2023-03-22 Thread Praveen Kumar
Hi Team, I need help in implementing Plotly with Django for interactive dashboards. Please suggest. Thanks & Regards, Praveen -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Clickable link in django admin Panel

2023-03-22 Thread Gurami Tchumburidze
I have problem to display clickable link in django admin panel next to 'icon' field or add help_text witch will be clickable and if i click on it, it must open this 'https://fonts.google.com/icons?icon.set=Material+Icons' website in new window of browther . [image: .PNG] link example

Re: Django error while running

2023-03-22 Thread James Kalu
oblem with your settings INSTALLED_APPS, > particularly if django\apps\registry.py Is further up the trace. > > A missing comma between items, perhaps? > > It would indeed be nice if Django would output a more sensible error > message for issues like this  > Hmm, an ide

Re: Django Channels 2 Group_send to channel layer causes runtime error: "got Future attached to a different loop"

2023-03-22 Thread raed
rror: Task /usr/local/lib/python3.5/dist-packages/asgiref/sync.py:63> > cb=[_run_until_complete_cb() at > /usr/lib/python3.5/asyncio/base_events.py:164]> got Future > attached to a different loop > > > > Note that the > async_to_sync(channel_layer.g

Re: Django error while running

2023-03-22 Thread Chandresh . T
r: No module named 'rest_frameworkdjango' > > There should be a comma between rest_framework and django > > On Wed, Mar 22, 2023, 12:18 PM Chandresh . T > wrote: > >> Hello all! This is the setting file of the project and I actually >> installed requirement.txt already. In t

Re: Django error while running

2023-03-22 Thread Ahmad Abdulnasir Shuaib
It looks like you mistakenly alter your settings, check your INSTALLED_APPS in settings.py ModuleNotFoundError: No module named 'rest_frameworkdjango' There should be a comma between rest_framework and django On Wed, Mar 22, 2023, 12:18 PM Chandresh . T wrote: > Hello all! This is the sett

Re: Django error while running

2023-03-22 Thread Chandresh . T
te: > Any traceback with this at the end: > > _bootstrap._gcd_import(name[level..], package, level) > > Is almost always is due to a problem with your settings INSTALLED_APPS, > particularly if django\apps\registry.py Is further up the trace. > > A missing comma between i

Re: Stuck with Django

2023-03-21 Thread Jeman Kumar
; ], > ), > }, > }, > ] > > > On Tuesday, March 21, 2023 at 11:56:48 a.m. UTC-4 Jeman Kumar wrote: > >> hello sir, Did you add the apps in the setting.py file? >> >> On Tue, 21 Mar, 2023, 9:23 pm Vairamut

Re: Django error while running

2023-03-21 Thread David Nugent
Any traceback with this at the end: _bootstrap._gcd_import(name[level..], package, level) Is almost always is due to a problem with your settings INSTALLED_APPS, particularly if django\apps\registry.py Is further up the trace. A missing comma between items, perhaps? It would indeed

Re: Stuck with Django

2023-03-21 Thread Vairamuthu Puvanachandran
u Puvanachandran, < > vai@gmail.com> wrote: > >> I am 76 yr old retired Engineer in Canada. >> >> >> >> I am new to Python and Django. >> >> >> >> I was looking for help and I found your site. >> >> >> >

Re: Django error while running

2023-03-21 Thread Prosper Lekia
If the clone project has a requirements.txt file, you can run pip install requirements.txt. Else, install Django rest_framework in your virtual environment. On Tue, Mar 21, 2023, 17:06 oba stephen wrote: > Can you share the content of your settings file? The installed apps in > part

Re: Stuck with Django

2023-03-21 Thread yash thadani
Hi Vairam What exactly you are stuck with? Regards Yash On Tue, Mar 21, 2023 at 9:23 PM Vairamuthu Puvanachandran < vai.pu...@gmail.com> wrote: > I am 76 yr old retired Engineer in Canada. > > > > I am new to Python and Django. > > > > I was looking for help an

Re: Stuck with Django

2023-03-21 Thread Abdulrahman Abbas
Your attached pictures are not clear On Tue, Mar 21, 2023, 16:53 Vairamuthu Puvanachandran wrote: > I am 76 yr old retired Engineer in Canada. > > > > I am new to Python and Django. > > > > I was looking for help and I found your site. > > > > I am stuck

Re: Django error while running

2023-03-21 Thread oba stephen
arted to run it by > (python manage.py runserver) but I got this error. > > can anyone help me with this, please? > > Thanks in advance! > > PS C:\Users\chand\OneDrive\Desktop\StudyBud> python manage.py runserver > Watching for file changes with StatReloader > Exception in th

Re: Stuck with Django

2023-03-21 Thread Jeman Kumar
> >> I am 76 yr old retired Engineer in Canada. >> >> >> >> I am new to Python and Django. >> >> >> >> I was looking for help and I found your site. >> >> >> >> I am stuck now. >> >> >> >> I followed

Re: Stuck with Django

2023-03-21 Thread Jeman Kumar
hello sir, Did you add the apps in the setting.py file? On Tue, 21 Mar, 2023, 9:23 pm Vairamuthu Puvanachandran, < vai.pu...@gmail.com> wrote: > I am 76 yr old retired Engineer in Canada. > > > > I am new to Python and Django. > > > > I was looking for help an

Django error while running

2023-03-21 Thread Chandresh . T
\StudyBud> python manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Users\chand\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.ru

Re: django multi databases and multi sessions

2023-03-21 Thread Ujjwal Joshi
There is a package for multi-tenancy in django . Also there is another package called django-tenant-users which you can use to manage permission between tenants. If you want to create a multi tenant on your own you can research on the internet. There is tons of information about implementing multi

Re: Installed Django 4.1 but version is 2.2

2023-03-21 Thread Joao Frankmann
I am running on a containerised virtual environment completely isolated to the system. when I run django --version, it shows me the version 4.1, but when I check the code, it is not the code for 4.1 but the code for 2.2 On Tuesday, 21 March 2023 at 11:20:46 UTC Andréas Kühne wrote: > I

Re: Installed Django 4.1 but version is 2.2

2023-03-21 Thread Andréas Kühne
I am guessing this is because you are running your systems installed django-admin for setting up the project and not in a virtualenvironment? Before running django-admin startproject mysite, make sure that you have created a virtualenvironment and install the version of django that you want

Installed Django 4.1 but version is 2.2

2023-03-21 Thread Joao Frankmann
I've been using django for a while and today when starting a new project I noticed that when I run: django-admin startproject mysite The settings.py generated file says: Generated by 'django-admin startproject' using Django 2.2.19 and the code is not the new one. I have projects written

Re: django multi databases and multi sessions

2023-03-20 Thread Dan Wood
I’m working on a big multi tenant app feel free to email for information, I use a different schema for each tenant -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: django multi databases and multi sessions

2023-03-20 Thread Sebastian Jung
I think you mean multi tenancy... There are packages for that. Google after django multi tenant.. WM schrieb am Mo., 20. März 2023, 16:08: > Hi, > > I would like to have your help. > > Using Django multiple databases in a project, can I create multiple > sessions in the proje

django multi databases and multi sessions

2023-03-20 Thread WM
Hi, I would like to have your help. Using Django multiple databases in a project, can I create multiple sessions in the project? If so, I would like to know how to. For example, three databases with two different login functions; The steps are followed: In a webpage, login as a homepage

Django 4.2 release candidate 1 released

2023-03-20 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/mar/20/django-42-rc1/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: Testing django

2023-03-16 Thread Ayush Bisht
Yeah, I got you.. My concern is on the documentation, the way it has provided the commands for executing test cases. That path.to.settings seems confusing sometimes.. On Fri, 17 Mar, 2023, 1:20 am Bhuvnesh Sharma, wrote: > We can run django tests with custom settings by using --settings f

Re: Testing django

2023-03-16 Thread Bhuvnesh Sharma
We can run django tests with custom settings by using --settings flag and providing the path to the custom settings file . For example: ./runtests.py --settings=new_app.test_settings What do you want to do exactly? On Fri, Mar 17, 2023 at 1:00 AM Ayush Bisht wrote: > Seems l

Re: Testing django

2023-03-16 Thread Ayush Bisht
ngs i18n.tests.TranslationTests* > > what exactly is the purpose of *path.to.settings,* I'm getting an error > while running the above line. > Can anyone please explain? > > *Error* > Testing against Django installed in '/home/ayush/OS/django/django' with up > to 8 processes > Tr

Testing django

2023-03-16 Thread Ayush Bisht
* ./runtests.py --settings=path.to.settings i18n.tests.TranslationTests* what exactly is the purpose of *path.to.settings,* I'm getting an error while running the above line. Can anyone please explain? *Error* Testing against Django installed in '/home/ayush/OS/django/django' with up to 8

Re: Stuck with Django Tutorial Part 4

2023-03-15 Thread Chetan Ganji
{% csrf_token %} > > {{ question.question_text }} > {% if error_message %}{{ error_message }}{% > endif %} > {% for choice in question.choice_set.all %} > > {{ > choice.choice_text }} > {% endfor %} > > >

<    4   5   6   7   8   9   10   11   12   13   >