Re: Collaborators wanted

2020-04-24 Thread John McClain
Hello Mohamed, Thank you for reaching to me in regards to this opportunity. Please provide your public GitHub (or other repo) address as well as url's to your projects if they are not in the repo's themselves. You can also send me skype contact request or email me my contact details are in the si

Re: problem with feed

2020-04-24 Thread John McClain
often you have to manage configurations on the host as well. What configs have you set in the host account On Fri, 24 Apr 2020 at 06:09, carlos wrote: > Hi, i have a website with SSL certificate > but when create feed syndication the link protocol always is http why? > > how to change to https?

Re: NoReverseMatch at /update-orders/12 Reverse for 'update_order' with arguments '('',)' not found. 1 pattern(s) tried: ['update\\-orders/(?P[0-9]+)$']

2020-04-24 Thread Raja Sekar Sambath
*path('detail-order/', views.DetailOrderView.as_view(), name='detail_order'), * *detail_order required primarykey to be passed to display the order.* success_url = reverse_lazy('detail_order') *Primary key is missing here* On Thu, 23 Apr 2020 at 23:59, Sergei Sokov wrote: > Hello everybody

Re: Digest for django-users@googlegroups.com - 25 updates in 14 topics

2020-04-24 Thread Bishop Akolgo
Ok thks. Managed to resolve the password problem after completing migrations and creating a superuser thanks to all bishop On Fri, Apr 24, 2020 at 6:12 AM wrote: > django-users@googlegroups.com > >

Re: Problem with user.username

2020-04-24 Thread Bishop Akolgo
Hi Thks. Was able to resolve problem after completing migrations and creating the supperuser regards bishop On Thu, Apr 23, 2020 at 6:08 PM Allison Tretina wrote: > I have two typos on line 6 and 9. My bad. > > >>> list(get_user_model().*objects.filter*(is_superuser=True).values_list('username'

Re: Can I use Django for client-server communication ?

2020-04-24 Thread Derek
Its unclear what you are trying to achieve; in a client-server architecture, the clients will call the server, which in turn may start up processes on their behalf and return responses to them. The reverse is not true. A server cannot install or startup up processes on independent client machi

Re: Need help whit DJANGO_SETTINGS_MODULE

2020-04-24 Thread Raja Sekar Sambath
could you share the solution here resetting PC didn't making any sense to me On Sun, 19 Apr 2020 at 19:19, Ilie Ioana wrote: > After resetting the pc it worked. > Thanks. > > On Sunday, April 19, 2020 at 4:39:50 PM UTC+3, Ilie Ioana wrote: >> >> The project structure: >> >> >> (test1) io

Re: Need help whit DJANGO_SETTINGS_MODULE

2020-04-24 Thread DANIEL URBANO DE LA RUA
are you using virtual environment? El vie., 24 abr. 2020 a las 14:33, Raja Sekar Sambath () escribió: > could you share the solution here > resetting PC didn't making any sense to me > > On Sun, 19 Apr 2020 at 19:19, Ilie Ioana wrote: > >> After resetting the pc it worked. >> Thanks. >>

reg: how to use Jinja template in HTML for django forms

2020-04-24 Thread 'Amitesh Sahay' via Django users
Hi,I have created django forms and the logic is fine, and I have created the HTML page to show the form fields. I have attached the screenshot for the reference. The problem I am facing two issues as below:- 1) to integrate the django form fields in the HTML page through Jinja. HTML file:{% load

Re: Sending emails using Exchange 2013 server and NTLM authentication

2020-04-24 Thread Fabian Wilske
Debugging of the smtplib revealed the actual error response by Exchange: resp: 5.7.1 This message has been blocked because the HELO/EHLO domain is invalid. It turned out that Exchange checks the name and/or domain of the sending host. My host name was the random container ID assigned by Doc

Re: Need help whit DJANGO_SETTINGS_MODULE

2020-04-24 Thread Raja Sekar Sambath
Yes I'm On Fri, 24 Apr 2020 at 18:30, DANIEL URBANO DE LA RUA < dannybombas...@gmail.com> wrote: > are you using virtual environment? > > El vie., 24 abr. 2020 a las 14:33, Raja Sekar Sambath () > escribió: > >> could you share the solution here >> resetting PC didn't making any sense to me..

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

2020-04-24 Thread Bruno Gama
Thank you, Raja Sekar Sambath. It stopped the error. I don't manage do what I want, but the error stopped running. Le ven. 24 avr. 2020 à 03:34, Raja Sekar Sambath a écrit : > decorating get_absolute_url with @staticmethod may help I think > > On Fri, 24 Apr 2020 at 00:35, Bruno Gama wrote:

Re: Need help whit DJANGO_SETTINGS_MODULE

2020-04-24 Thread 'Amitesh Sahay' via Django users
DJANGO_SETTINGS_MODULE is not the problem I guess, as its not there even in my settings.py. Did you define your app in apps settings?  Regards, Amitesh On Friday, 24 April, 2020, 06:45:43 pm IST, Raja Sekar Sambath wrote: Yes I'm On Fri, 24 Apr 2020 at 18:30, DANIEL URBANO DE LA RU

Re: Success Message after Submitting a form

2020-04-24 Thread Ahmed Khairy
Thank you Ramadan Kareem On Friday, April 24, 2020 at 12:11:09 AM UTC-4, mohamed khaled wrote: > > just use SuccessMessageMixin > > from django.contrib.messages.views import SuccessMessageMixin > > class PostCreateView(LoginRequiredMixin,SuccessMessageMixin, CreateView): > model = Post > f

Re: Need Help In My Project (URGENT)

2020-04-24 Thread AM
Hello Raghav. You need to be more specific about your problem and the help you need. Not many would like to help you flout the lockdown rules and get you to your training institution. On Thursday, April 23, 2020 at 12:06:35 PM UTC+12, raghav wrote: > > > My name is Raghav and I am a final year s

Django Rest Framework - Integrating Django Channels

2020-04-24 Thread Eesa Munir
Hello. I am unable to find a way to implement Django channels into a (DRF) application. If this is possible, does anybody know how to accomplish this easily and efficiently? Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubsc

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

2020-04-24 Thread Raja Sekar Sambath
Hi Bruno Gama, Try this, update reverse('courses:datails', (), {'slug': self.slug}) as reverse('courses:datails', kwargs={'slug': self.slug}) On Fri, 24 Apr 2020 at 18:50, Bruno Gama wrote: > Thank you, Raja Sekar Sambath. > > It stopped the error. I don't manage do what I want, but the err

Re: Django Rest Framework - Integrating Django Channels

2020-04-24 Thread 'Amitesh Sahay' via Django users
Hi, Try the below link:Django REST Framework and Channels | | | | | | | | | | | Django REST Framework and Channels OddBird We’ve begun exploring some patterns for how to add WebSocket push notifications to what is otherwise a RESTful A... | | | Regards, Amitesh Sahay91-7

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

2020-04-24 Thread Bruno Gama
Hi Raja Sekar Sambath I tried what you said and didn't run well. I don't know why is not running with reverse function. I managed do what I wanted. I did this: def get_absolute_url(self): return '%s' % self.slug Thanks & Regards, Bruno Gama +55 12 9 9171-6336. Le ven. 24 avr. 2020 à 11:

Re: Need Help In My Project (URGENT)

2020-04-24 Thread Shivansh Sen
I thinks what Raghav wants is to get a complete project as help --- Shivansh Sen Call:+91-6375-967-908 India On Fri, Apr 24, 2020 at 8:07 PM AM wrote: > Hello Raghav. You need to be more specific about your problem and the help > you need. Not many would like to help you flo

Re: Need Help In My Project (URGENT)

2020-04-24 Thread Shivansh Sen
I think what he wants to say is if anybody got a complete project, share with him On Thursday, April 23, 2020 at 5:36:35 AM UTC+5:30, raghav wrote: > > > My name is Raghav and I am a final year student. > I want a project for my final semester, the subject of which is the *"Courier > Management

urgent help needed with my rest

2020-04-24 Thread ola neat
i'm working on with django rest-api & angular but i'm having issues making a delete request to my model see below my url, apiView, angular-api-delete-request codes and err msg -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: urgent help needed with my rest

2020-04-24 Thread Andréas Kühne
Hi, The problem you are having is that the ID you are sending to your deleteTask angular method is undefined - that's what the log shows. Check the angular code to see why you are not sending a valid id to the deleteTask method. This has nothing to do with the rest api - it is functioning perfectl

Re: problem with feed

2020-04-24 Thread carlos
Is a VPS Digital Ocean On Fri, Apr 24, 2020 at 1:28 AM John McClain wrote: > often you have to manage configurations on the host as well. What configs > have you set in the host account > > On Fri, 24 Apr 2020 at 06:09, carlos wrote: > >> Hi, i have a website with SSL certificate >> but when cr

NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
I have created a new app in a project and moved one of the classes from one app to the new app I checked every step but I keep getting No Reverse match I wrote the name of the app before the namespace but still HTML : Upload Designs URLS from django.urls import include, path from

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Motaz Hejaze
path('score/new/', include(('post-create.urls', 'post-create' ), PostCreateView.as_view(), name='post-create'), explain this line ? On Sat, Apr 25, 2020 at 5:30 AM Ahmed Khairy wrote: > I have created a new app in a project and moved one of the classes from > one app to the new app > > I checke

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
I was trying to include the urls originally it was path('score/new/', PostCreateView.as_view(), name='post-create'), but still both not working On Friday, April 24, 2020 at 11:33:48 PM UTC-4, Motaz Hejaze wrote: > > path('score/new/', include(('post-create.urls', 'post-create' > ), PostCr

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
I tried to include the urls originally it was path('score/new/', PostCreateView.as_view(), name='post-create'), but both didn't work On Friday, April 24, 2020 at 11:29:41 PM UTC-4, Ahmed Khairy wrote: > > I have created a new app in a project and moved one of the classes from > one app

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Motaz Hejaze
you don't need the include part because you already copied the class to the new app On Sat, Apr 25, 2020 at 6:16 AM Ahmed Khairy wrote: > I tried to include the urls > > originally it was > > path('score/new/', PostCreateView.as_view(), name='post-create'), > > but both didn't work > > On Fr

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Motaz Hejaze
did you add your new app to installed apps in settings.py On Sat, Apr 25, 2020 at 6:29 AM Motaz Hejaze wrote: > you don't need the include part because you already copied the class to > the new app > > On Sat, Apr 25, 2020 at 6:16 AM Ahmed Khairy > wrote: > >> I tried to include the urls >> >>

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
yes INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'allauth', 'allauth.account', 'users.apps.UsersC

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Motaz Hejaze
did you try to change the name 'post-create' to something else ? On Sat, Apr 25, 2020 at 6:34 AM Ahmed Khairy wrote: > yes > > INSTALLED_APPS = [ > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
Yes i tried other urls from other models it worked but anything related to the new app is not linked On Saturday, April 25, 2020 at 12:42:14 AM UTC-4, Motaz Hejaze wrote: > > did you try to change the name 'post-create' to something else ? > > On Sat, Apr 25, 2020 at 6:34 AM Ahmed Khairy > wrote

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-24 Thread Ahmed Khairy
I added the new app urls to the main project URLs I think this was the mistake but now I have to change the URLs location as I'm getting 404 error score/score/ Thank you, your first question is what made me find the issue On Saturday, April 25, 2020 at 1:13:08 AM UTC-4, Ahmed Khairy wrote: > >