Re: Modification in Fee Management System Django Project

2018-10-27 Thread Abba Haruna
Yes sir am interested On Sat, Oct 27, 2018 at 7:27 PM mazz ahmed wrote: > Hi Dear! > I am Interested in your project. Please If you want to work with me reply > please > > On Sat, Oct 27, 2018 at 8:10 PM BBG wrote: > >> I have one project fee management system and need some modification. >> >>

How to fix TypeError: __init__() missing 1 required positional argument: 'on_delete'

2018-11-22 Thread Abba Haruna
from django.db import models class Food(models.Model): name = models.CharField(max_length=30) picture = models.ImageField(upload_to='images/', null=True) def __unicode__(self): return self.name class Town(models.Model): name = models.CharField(max_length=30) def __unicode__(self): return

how to fix this problem using 2.1.3 version

2018-11-26 Thread Abba Haruna
if settings.DEBUG: # urlpatterns += patterns('', # ('media/(?P.*)', # 'django.views.static.serve', # {'document_root': settings.MEDIA_ROOT})) this is the result File "C:\Users\Abba\Desktop\rest_picker\restaurants\urls.py", line 22 if settings.DEBUG: ^

Re: how to fix this problem using 2.1.3 version

2018-11-26 Thread Abba Haruna
even if i close it is not working On Mon, Nov 26, 2018 at 5:54 AM Michal Petrucha < michal.petru...@konk.org> wrote: > On Mon, Nov 26, 2018 at 02:48:25PM -0800, Abba Haruna wrote: > > # from django.conf.urls import patterns, url > > from django.conf.urls.static i

Re: How to fix TypeError: __init__() missing 1 required positional argument: 'on_delete'

2018-11-26 Thread Abba Haruna
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 post to this group, send email to

Re: how to fix this problem using 2.1.3 version

2018-11-26 Thread Abba Haruna
Yes lets me show you the code On Mon, Nov 26, 2018 at 5:47 AM Yavin Aalto Arba wrote: > did you import settings? > > On Mon, 26 Nov 2018 at 15:34, Abba Haruna wrote: > >> if settings.DEBUG: >> # urlpatterns += patterns('', >> # ('media/(?P.*)', &

Re: how to fix this problem using 2.1.3 version

2018-11-26 Thread Abba Haruna
='vote'), ) if settings.DEBUG: urlpatterns += patterns('', ('media/(?P.*)', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})) On Mon, Nov 26, 2018 at 5:47 AM Yavin Aalto Arba wrote: > did you import settings? > > On Mon, 26 Nov 2018 at 15:34, Abba Haru

Re: how to fix this problem using 2.1.3 version

2018-11-26 Thread Abba Haruna
he parenthesis correctly in the second item, here's > how its supposed to be written: > > path('',ListView.as_view(model=Food, template_name='restaurants/index.html', > name='index')) > > > 4.you are using path and instead of path_re > > > > On Mon, 26 No