Re: Need Help In My Project (URGENT)

2020-04-25 Thread Desh Deepak
Share your code

On Thu, 23 Apr 2020, 5:36 am 'raghav' via Django users, <
django-users@googlegroups.com> 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 System"*,
> I am not able to complete my project on time due to any problem. The
> problem is that I can no longer go to the institution where I was training.
> Due to lockdown.
> My computer is too old which is causing the problem.
> This community is a family that keeps on helping each other
> I hope someone helps me.
>
> Contact - shubhamnagariya1...@gmail.com()
> Email me if anyone wants to help me
>
> If anyone has a project that works like a courier management service,
> contact me its urgent.
>
> - Thank you
>
> --
> 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://groups.google.com/d/msgid/django-users/da6ec428-ceee-4a12-bd86-3354b63f035b%40googlegroups.com
> 
> .
>

-- 
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://groups.google.com/d/msgid/django-users/CAJ0m4xiCRkPUXOC4A8E%3DU6QegywdJxPE1yLkhAjqRpR3Kqc_Gg%40mail.gmail.com.


Re: Deploying Django Project on heroku

2020-04-25 Thread Jorge Gimeno
On Sat, Apr 25, 2020 at 7:13 AM Sunday Iyanu Ajayi 
wrote:

> I have spent over 2weeks on deploying a django project to heroku but I
> keep getting error messages such as :
>
> My WhiteNoise is not configured  and I have followed all the tutorials
> recommended  and yet same thing.
>
> Please who has a guide I can follow that is very updated.
> Thank you.
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
> --
> 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://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com
> 
> .
>

This is one that's current and I have used before:
https://github.com/jlgimeno/wagtail-heroku-deployment

-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 on the web visit 
https://groups.google.com/d/msgid/django-users/CANfN%3DK8rZvAPLtYLCp12KYWKpgmGh-hkEh2Pvx1CCOgZ%3DS479A%40mail.gmail.com.


Re: Need Help In My Project (URGENT)

2020-04-25 Thread maninder singh Kumar
The lockdown has affected all of us. I find it hard to believe that, Raghav, 
you haven't found a way out.  We must all work hard to get to something 
valuable.every day.  The way around this problem you face is to talk on the 
phone.  Remember isolation can lead to depression and we must still communicate.
The way if I may suggest is to call a call centre of your old computer and talk 
to them about its utility and you will find all of us are indispensable to our 
god.  Imagine that coming from a call centre, call dell if you must, they 
always wanna help you through your bad times.

Regs
Willy

Sent from my iPad

> On 25-Apr-2020, at 3:38 PM, Madhav Nandan  wrote:
> 
> Can you please elaborate raghav where you need help? Where you are stuck. I'm 
> willing to help you. We can share code on github and make changes but for 
> that I atleast need to know where you are stuck.
> 
> 
> 
>> On Fri, Apr 24, 2020 at 9:24 PM Shivansh Sen  wrote:
>> 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 System", 
>>> I am not able to complete my project on time due to any problem. The 
>>> problem is that I can no longer go to the institution where I was training. 
>>> Due to lockdown.
>>> My computer is too old which is causing the problem.
>>> This community is a family that keeps on helping each other
>>> I hope someone helps me.
>>> 
>>> Contact - shubhamna...@gmail.com()
>>> Email me if anyone wants to help me
>>> 
>>> If anyone has a project that works like a courier management service, 
>>> contact me its urgent.
>>> 
>>> - Thank you
>> 
>> -- 
>> 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://groups.google.com/d/msgid/django-users/05a52998-c5f1-4328-8f03-eb8815e0a950%40googlegroups.com.
> 
> 
> -- 
> Madhav Nandan
> -- 
> 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://groups.google.com/d/msgid/django-users/CAGXYL6Ld%3D5Cnc5YfnCqrzq94bCE-5yte12OPVPWWJNN5SaqOPg%40mail.gmail.com.

-- 
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://groups.google.com/d/msgid/django-users/8E40B060-C863-44A4-A33B-FDF55E3C9E80%40gmail.com.


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-25 Thread maninder singh Kumar
A URL.py problem
Reg
Willy

Sent from my iPad

> On 25-Apr-2020, at 10:04 AM, Ahmed Khairy  wrote:
> 
> 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.UsersConfig',
> 'core',
> 'crispy_forms',
> 'django_filters',
> 'score'
> ]
> 
> 
>> On Saturday, April 25, 2020 at 12:31:30 AM UTC-4, Motaz Hejaze wrote:
>> 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 
 
 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 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 . import views
> from .views import (PostCreateView, PostDeleteView, PostDetailView,
> PostListView, PostUpdateView, UserPostListView)
> 
> app_name = 'score'
> 
> urlpatterns = [
> path('user/', UserPostListView.as_view(), 
> name='user-posts'),
> path('score/', PostListView.as_view(), name='score'),
> path('score//', PostDetailView.as_view(), name='post-detail'),
> path('score/new/', include(('post-create.urls', 'post-create'), 
> PostCreateView.as_view(), name='post-create'),
> path('score//update/', PostUpdateView.as_view(), 
> name='post-update'),
> path('score//delete/', PostDeleteView.as_view(), 
> name='post-delete')
> ]
> 
> 
> settings:
> from django.conf import settings
> from django.conf.urls.static import static
> from django.contrib import admin
> from django.contrib.auth import views as auth_views
> from django.contrib.staticfiles.urls import staticfiles_urlpatterns
> from django.urls import include, path
> 
> from users import views as user_views
> 
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('accounts/', include('allauth.urls')),
> path('', include('core.urls', namespace='core')),
> path('register/', user_views.register, name='register'),
> path('profile/', user_views.profile, name='profile'),
> 
> views
> from django.contrib import messages
> from django.contrib.auth.mixins import LoginRequiredMixin, 
> UserPassesTestMixin
> from django.contrib.auth.models import User
> from django.contrib.messages.views import SuccessMessageMixin
> from django.http import HttpResponse
> from django.shortcuts import get_object_or_404, redirect, render
> from django.utils import timezone
> from django.views.generic import (
> CreateView, DeleteView, DetailView, ListView, UpdateView)
> 
> from .models import Post
> 
> 
> 
> class PostListView(ListView):
> model = Post
> template_name = "score.html"
> context_object_name = 'posts'
> 
> class PostCreateView(LoginRequiredMixin, SuccessMessageMixin, CreateView):
> model = Post
> fields = ['caption', 'design']
> template_name = "score/post_form.html"
> 
> def form_valid(self, form):
> form.instance.author = self.request.user
> return super().form_valid(form)
> 
> models
> 
> from django.conf import settings
> from django.contrib.auth.models import User
> from django.db import models
> from django.shortcuts import reverse
> from django.utils import timezone
> 
> 
> # Create your models here.
> class Post(models.Model):
> author = models.ForeignKey(User, on_delete=models.CASCADE)
> design = models.ImageField(
> blank=False, null=True, upload_to='new designs')
> 
> def __str__(self):
> return self.caption
> 
> def get_absolute_url(self):
> return reverse("score:post-detail", kwargs={"pk": self.pk})
> 
> 
> 
> 
 
 -- 
 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...@googlegro

Re: Deploying Django Project on heroku

2020-04-25 Thread Motaz Hejaze
why the hell would anyone try to deploy for 2 weeks 

please follow this tutorial . i personally used it and worked for me twise
..

also read the comments section ..

https://www.codementor.io/@jamesezechukwu/how-to-deploy-django-app-on-heroku-dtsee04d4

On Sat, Apr 25, 2020 at 4:17 PM sagar ninave  wrote:

>
> https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Deployment
>
> Follow this documentation
>
> On Sat, Apr 25, 2020 at 7:16 AM sagar ninave 
> wrote:
>
>> Do you installed whitenoise package
>> If not then run this command
>> Pip insatll whitenoise
>>
>> On Sat, 25 Apr 2020 at 7:43 PM, Sunday Iyanu Ajayi 
>> wrote:
>>
>>> I have spent over 2weeks on deploying a django project to heroku but I
>>> keep getting error messages such as :
>>>
>>> My WhiteNoise is not configured  and I have followed all the tutorials
>>> recommended  and yet same thing.
>>>
>>> Please who has a guide I can follow that is very updated.
>>> Thank you.
>>> *AJAYI Sunday *
>>> (+234) 806 771 5394
>>> *sunnexaj...@gmail.com *
>>>
>>> --
>>> 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://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>>
>> 
>> sagar ninave
>> about.me/sagarninave
>> 
>>
>
>
> --
>
> 
> sagar ninave
> about.me/sagarninave
> 
>
> --
> 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://groups.google.com/d/msgid/django-users/CAA6pdZ-FCy07Hr07UE6hm82oFJBYf9bZCoimWdmd6wqBg8tJxg%40mail.gmail.com
> 
> .
>

-- 
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://groups.google.com/d/msgid/django-users/CAHV4E-cCHBEsj%3DcnTFmobpPki6ugx4rH-r791B%2BK3CrBUofFUw%40mail.gmail.com.


Re: Deploying Django Project on heroku

2020-04-25 Thread sagar ninave
Do you installed whitenoise package
If not then run this command
Pip insatll whitenoise

On Sat, 25 Apr 2020 at 7:43 PM, Sunday Iyanu Ajayi 
wrote:

> I have spent over 2weeks on deploying a django project to heroku but I
> keep getting error messages such as :
>
> My WhiteNoise is not configured  and I have followed all the tutorials
> recommended  and yet same thing.
>
> Please who has a guide I can follow that is very updated.
> Thank you.
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
> --
> 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://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com
> 
> .
>
-- 

sagar ninave
about.me/sagarninave


-- 
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://groups.google.com/d/msgid/django-users/CAA6pdZ9fsGj3y%3DNVVQ_oCX9hY5DbLHtPVLM-nPhWYxpE4Qsi7w%40mail.gmail.com.


Re: Deploying Django Project on heroku

2020-04-25 Thread sagar ninave
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Deployment

Follow this documentation

On Sat, Apr 25, 2020 at 7:16 AM sagar ninave  wrote:

> Do you installed whitenoise package
> If not then run this command
> Pip insatll whitenoise
>
> On Sat, 25 Apr 2020 at 7:43 PM, Sunday Iyanu Ajayi 
> wrote:
>
>> I have spent over 2weeks on deploying a django project to heroku but I
>> keep getting error messages such as :
>>
>> My WhiteNoise is not configured  and I have followed all the tutorials
>> recommended  and yet same thing.
>>
>> Please who has a guide I can follow that is very updated.
>> Thank you.
>> *AJAYI Sunday *
>> (+234) 806 771 5394
>> *sunnexaj...@gmail.com *
>>
>> --
>> 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://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com
>> 
>> .
>>
> --
>
> 
> sagar ninave
> about.me/sagarninave
> 
>


-- 

sagar ninave
about.me/sagarninave


-- 
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://groups.google.com/d/msgid/django-users/CAA6pdZ-FCy07Hr07UE6hm82oFJBYf9bZCoimWdmd6wqBg8tJxg%40mail.gmail.com.


Deploying Django Project on heroku

2020-04-25 Thread Sunday Iyanu Ajayi
I have spent over 2weeks on deploying a django project to heroku but I keep
getting error messages such as :

My WhiteNoise is not configured  and I have followed all the tutorials
recommended  and yet same thing.

Please who has a guide I can follow that is very updated.
Thank you.
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *

-- 
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://groups.google.com/d/msgid/django-users/CAKYSAw2PsC452Sk5_1e_sMy3HuZ3zWrFh5p6CVn6K-KsVF1Rqg%40mail.gmail.com.


Re: Need Help In My Project (URGENT)

2020-04-25 Thread Madhav Nandan
Can you please elaborate raghav where you need help? Where you are stuck.
I'm willing to help you. We can share code on github and make changes but
for that I atleast need to know where you are stuck.



On Fri, Apr 24, 2020 at 9:24 PM Shivansh Sen  wrote:

> 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 System"*,
>> I am not able to complete my project on time due to any problem. The
>> problem is that I can no longer go to the institution where I was training.
>> Due to lockdown.
>> My computer is too old which is causing the problem.
>> This community is a family that keeps on helping each other
>> I hope someone helps me.
>>
>> Contact - shubhamna...@gmail.com()
>> Email me if anyone wants to help me
>>
>> If anyone has a project that works like a courier management service,
>> contact me its urgent.
>>
>> - Thank you
>>
> --
> 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://groups.google.com/d/msgid/django-users/05a52998-c5f1-4328-8f03-eb8815e0a950%40googlegroups.com
> 
> .
>


-- 
Madhav Nandan

-- 
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://groups.google.com/d/msgid/django-users/CAGXYL6Ld%3D5Cnc5YfnCqrzq94bCE-5yte12OPVPWWJNN5SaqOPg%40mail.gmail.com.


How to connect the external independent template(contains of javascript and ajax) with django backend to POST the zip file to external template

2020-04-25 Thread yashwanth balanagu
connect the external independent template(contains of javascript and ajax) 
with django backend to pass the image from front end and get the image in 
backend convert into the zip file and post to external javascript template

-- 
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://groups.google.com/d/msgid/django-users/8f27870e-0a6d-4c74-baca-982306515809%40googlegroups.com.