django form validation error massage not showing. please help me out

2023-09-15 Thread Mohammad Shahidullah
models.py
class Position(models.Model):
title = models.CharField(max_length=50)

def __str__(self):
return self.title

class Department(models.Model):
title = models.CharField(max_length=50)

def __str__(self):
return self.title


class Employee(models.Model):
fullname = models.CharField(max_length=100)
emp_code = models.CharField(max_length=6)
mobile= models.CharField(max_length=11)
email = models.EmailField(max_length=25)
position= models.ForeignKey(Position,on_delete=models.CASCADE)
Department = models.ForeignKey(Department, on_delete=models.CASCADE)
password_first = models.CharField(max_length=25)
password_again = models.CharField(max_length=25)

def __str__ (self):
return self.fullname

forms.py
User = get_user_model()

class EmployeeForm(forms.ModelForm):

class Meta:
model = Employee
fields = ('fullname','mobile','emp_code','position', 'Department',
'email', 'password_first', 'password_again')
labels = {
'fullname':'Full Name',
'emp_code':'Employee Code',
'password_first': 'Password',
'password_again': 'Confirm Password',
}

widgets = {
'password_first': forms.PasswordInput(),
'password_again' : forms.PasswordInput(),
}


def __init__(self, *args, **kwargs):
super(EmployeeForm,self).__init__(*args, **kwargs)
self.fields['position'].empty_label = "Select"
self.fields['Department'].empty_label = "Select"



def clean_username(self):
username = self.cleaned_data.get('emp_code')
qs = User.objects.filter(username=username)
if qs.exists():
raise forms.ValidationError('username already exists')
return username

def clean(self):
cleaned_data = self.cleaned_data
password_first = self.cleaned_data.get('password_first')
password_again = self.cleaned_data.get('password_again')
if password_first and password_again and password_first != 
password_again:
raise forms.ValidationError("Passwords din't match")
return cleaned_data

def clean_email(self):
email_address = self.cleaned_data.get('email')
qs = User.objects.filter(email=email_address)
if qs.exists():
raise forms.ValidationError("This email_id already registered")
return email_address

views.py
def employee_form(request, id=0):
if request.method == "GET":
if id == 0:
form = EmployeeForm()
else:
employee = Employee.objects.get(pk=id)
form = EmployeeForm(instance=employee)
return render(request, "users/employee_form.html", {'form': form})
else:
if id == 0:
form = EmployeeForm(request.POST)
else:
employee = Employee.objects.get(pk=id)
form = EmployeeForm(request.POST,instance= employee)
if form.is_valid():
form.save()
return redirect('/list')


employee_form.html


{% block content %}


{% csrf_token %}
{{form.fullname|as_crispy_field}}
{{form.mobile|as_crispy_field}}
{{form.email|as_crispy_field}}



{{form.emp_code|as_crispy_field}}


{{form.position|as_crispy_field}}


{{form.Department|as_crispy_field}}





{{form.password_first|as_crispy_field}}


{{form.password_again|as_crispy_field}}






<
i class="fas fa-database">
Submit



 Back to list





{% if form.error %}
{% for field in form %}
{% for error in field.error %}
 {{ errors }} 
{% endfor %}
{% endfor %}

{% for error in form.non_field_error %}
 {{ error }} 
{% endfor %}
{% endif %}




{% endblock content %}



-- 
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/6ba949b0-0fc4-443c-ba27-136754fbd1f5n%40googlegroups.com.


Re: HELP ME OUT

2021-10-20 Thread Uzzal Hossain
Change folder name to templates
There is typo mistake.
And let me if it's fixed.

On Wed, Oct 20, 2021, 3:15 PM Planet X  wrote:

> I can not connect to my static files here i am sending my screen shoot of
> the setting and others links to the my base.html whats my fault please do
> help
>
> --
> 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/7ffc995e-f0fa-4624-8138-1e22b7413e5an%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/CABszMp9-tG40xPQdfg1n%3Dr6DuiC4MqSgtACafWwkS3%3DxOn8asg%40mail.gmail.com.


Re: HELP ME OUT

2021-10-20 Thread Jamal El khdadi
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = [
   os.path.join(BASE_DIR, 'assets')
]

On Wed, Oct 20, 2021, 11:00 AM Lakshyaraj Dash X-D 25 <
dashlakshyaraj2...@gmail.com> wrote:

> Change the assets to static
>
> On Wed, 20 Oct, 2021, 2:45 pm Planet X,  wrote:
>
>> I can not connect to my static files here i am sending my screen shoot of
>> the setting and others links to the my base.html whats my fault please do
>> help
>>
>> --
>> 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/7ffc995e-f0fa-4624-8138-1e22b7413e5an%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/CAF7qQgAnM1ckX7zaGfeVTfB9PJpUuZ99C1w%2B9Hbb%2B85ke7tb8A%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/CAB889%2ByxhKMzA7T3Zx-5VS%3D1jOTgWzOa%2BNr0aptk33KM6FOK4A%40mail.gmail.com.


Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Do one thing... In the templates inside {% static 'css/style.css' %} make
it {% static 'prsquare/css/style.css' %}

On Wed, 20 Oct, 2021, 2:45 pm Planet X,  wrote:

> I can not connect to my static files here i am sending my screen shoot of
> the setting and others links to the my base.html whats my fault please do
> help
>
> --
> 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/7ffc995e-f0fa-4624-8138-1e22b7413e5an%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/CAF7qQgBH3-%2B9oWtsvLhr6%3DZs9j1%2BDqXz%3DiVDd34KOG2gDDqS1g%40mail.gmail.com.


Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Change the assets to static

On Wed, 20 Oct, 2021, 2:45 pm Planet X,  wrote:

> I can not connect to my static files here i am sending my screen shoot of
> the setting and others links to the my base.html whats my fault please do
> help
>
> --
> 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/7ffc995e-f0fa-4624-8138-1e22b7413e5an%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/CAF7qQgAnM1ckX7zaGfeVTfB9PJpUuZ99C1w%2B9Hbb%2B85ke7tb8A%40mail.gmail.com.


HELP ME OUT

2021-10-20 Thread Planet X
I can not connect to my static files here i am sending my screen shoot of 
the setting and others links to the my base.html whats my fault please do 
help

-- 
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/7ffc995e-f0fa-4624-8138-1e22b7413e5an%40googlegroups.com.


Re: I am getting this error while I mention all syntax properly.plz help me out.

2020-09-13 Thread amr
Change (href="{% url 'your_app_name:post_detail' post.id %}") == 
post.id not post.pk 
and change  (post=Post.objects.get(Post, pk=pk)) ==> TO  
(post=Post.objects.get(pk=pk)  ...
And it will work with you

On Saturday, September 12, 2020 at 6:37:41 PM UTC+2 coolguy wrote:

> Please provide the template screen shot since error is generated from 
> there... also send separate screen so its viewable.  
>
> On Saturday, September 12, 2020 at 4:35:10 AM UTC-4 yashlan...@gmail.com 
> wrote:
>
>> [image: 5.PNG]
>> [image: 6.PNG]
>> [image: 7.PNG]
>> [image: 8.PNG]
>>
>

-- 
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/ec4f8530-c029-42c6-a304-3ca38a9da626n%40googlegroups.com.


Re: I am getting this error while I mention all syntax properly.plz help me out.

2020-09-12 Thread coolguy
Please provide the template screen shot since error is generated from 
there... also send separate screen so its viewable.  

On Saturday, September 12, 2020 at 4:35:10 AM UTC-4 yashlan...@gmail.com 
wrote:

> [image: 5.PNG]
> [image: 6.PNG]
> [image: 7.PNG]
> [image: 8.PNG]
>

-- 
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/6398f41f-8fd2-4212-9cca-830d3b2107ecn%40googlegroups.com.


Re: I am getting this error while I mention all syntax properly.plz help me out.

2020-09-12 Thread coolguy
Please provide the template screen shot since error is generated from 
there... also send separate screen so i viewable.

On Saturday, September 12, 2020 at 4:35:10 AM UTC-4 yashlan...@gmail.com 
wrote:

> [image: 5.PNG]
> [image: 6.PNG]
> [image: 7.PNG]
> [image: 8.PNG]
>

-- 
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/49719626-a3dd-4683-b984-5acd20b899c8n%40googlegroups.com.


Re: I am getting this error plz help me out of this.

2020-09-11 Thread Hedrick Godson's
In ur anchor tag in template {% url "xyz:rst" post.pk %}

On Thu, 10 Sep 2020, 20:15 amr  wrote:

> In your views function you passed a (pk) so you must pass it in your path
> in (urls.py) as
> path('postdetail//', views.post_detail, name='post_detail')
> Then in your template in(href="{% url 'appname:post_detail' post.id %}")
> and you will redirect to your  url as (localhost:port/postdetail/1) or 2
> or 3 or 4 . or whatever
> hope this helps
>
> On Thursday, September 10, 2020 at 4:08:18 PM UTC+2 mailto...@gmail.com
> wrote:
>
>> url for post_detail should have 
>>
>> On Thu, Sep 10, 2020 at 7:30 PM Yash Lanjewar 
>> wrote:
>>
>>> [image: 1.png]
>>> [image: 2.png]
>>> [image: 3.png]
>>> [image: 4.png]
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAM%3DybSOsbGWm-9LvGYgu5QpNQZA%3DZvGY00C%2Bj5CHuoiG8nmFxQ%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thanks & Regards
>>
>> Regards,
>> Danish
>>
> --
> 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/d25aa9e1-d753-4c6e-83a7-fcda03731514n%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/CAJAxQD%3DvjnGNPsPbOsZBLSP0UDGRunX82c7QQ7PJJ%3Dy1mjGjWw%40mail.gmail.com.


Re: I am getting this error plz help me out of this.

2020-09-10 Thread amr
In your views function you passed a (pk) so you must pass it in your path 
in (urls.py) as
path('postdetail//', views.post_detail, name='post_detail') 
Then in your template in(href="{% url 'appname:post_detail' post.id %}") 
and you will redirect to your  url as (localhost:port/postdetail/1) or 2 or 
3 or 4 . or whatever
hope this helps

On Thursday, September 10, 2020 at 4:08:18 PM UTC+2 mailto...@gmail.com 
wrote:

> url for post_detail should have 
>
> On Thu, Sep 10, 2020 at 7:30 PM Yash Lanjewar  
> wrote:
>
>> [image: 1.png]
>> [image: 2.png]
>> [image: 3.png]
>> [image: 4.png]
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAM%3DybSOsbGWm-9LvGYgu5QpNQZA%3DZvGY00C%2Bj5CHuoiG8nmFxQ%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thanks & Regards 
>   
> Regards, 
> Danish
>

-- 
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/d25aa9e1-d753-4c6e-83a7-fcda03731514n%40googlegroups.com.


Re: I'm new to this django help me out

2020-06-22 Thread sree lekha
How to send live output that we got on our screen ... It should display the
same if they open that in phone or anything...how can we do that?

On Fri, May 15, 2020, 21:48 Sunday Iyanu Ajayi 
wrote:

>  You can host the project on a server and share the url
>
> Or can you enlighten me on what you mean by output?- The Web app ?
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
>
>
> On Fri, May 15, 2020 at 3:15 PM sree lekha 
> wrote:
>
>> how can i share the output of a django program to others
>>
>> --
>> 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/CAC0VY9zxM0SaSoQF5QpywiKbvy0g1LijoB5%2B%3D2y_Ak1gvwmnFQ%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/NCMvHAhAEkg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAKYSAw3WxqupqA0%3DesFXqNBa_sGs%2Bc3%3Dwih3HmgxyfwYvHL1vw%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/CAC0VY9z-8fF%2BbKnW2BsYU-nzGAxC8NpjYGsqcxmjk6%3D3wSD3rg%40mail.gmail.com.


Re: Help me out please

2020-06-20 Thread Marcin Wiśniewsk
PISZCIE PO POLSKU

Wysłane z aplikacji Outlook Mobile<https://aka.ms/blhgte>


From: django-users@googlegroups.com  on behalf 
of Alison Mukoma 
Sent: Saturday, June 20, 2020 11:30:50 AM
To: django-users@googlegroups.com 
Subject: Re: Help me out please

Hey,

What you need first off will be a geo active db backend,  for that I will 
advise you use something like this

Url: https://hub.docker.com/r/kartoza/postgis/

It's a postgres GIS powered db backend,  from there you can design your models 
to hold any location type I.e as polygon, multipolygon, lat, long, specifying 
of SRID for your map etc, line type etc and you will have all capacity to 
search by coordinates and all.

>From there the rest should be convenient to accomplish.

Regards,
Alison

On Sat, 20 Jun 2020, 10:41 Vishesh Mangla, 
mailto:manglavishes...@gmail.com>> wrote:

Easiest solution

https://www.w3schools.com/html/html5_geolocation.asp



Otherwise GeoDjango might have something



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: meera gangani<mailto:meeragangan...@gmail.com>
Sent: 20 June 2020 14:03
To: django-users@googlegroups.com<mailto:django-users@googlegroups.com>
Subject: Help me out please



Hello ,



I am working on attendance module in HR Project, So I implement something 
new, so as employee enter in the office and login to his system and click on to 
the check-in button his/her attendance will be marked,



   So that's why we need Map APi, First of all we want to find Longitude and 
latitude of our building, so we can mark his/her attendance,  so please can you 
help me out in troubled situation



At least you can give some sort of idea of what I will use to implement this



Thanking you in advance

-Meera Gangani

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%40mail.gmail.com?utm_medium=email_source=footer>.



--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/805D1B9A-9026-46DB-B917-22F7357D325C%40hxcore.ol<https://groups.google.com/d/msgid/django-users/805D1B9A-9026-46DB-B917-22F7357D325C%40hxcore.ol?utm_medium=email_source=footer>.

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKLADicxVwTpZytqv6NvtbPwHAc8zt-Fmr4TK%3DGaasHxfHDnRw%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAKLADicxVwTpZytqv6NvtbPwHAc8zt-Fmr4TK%3DGaasHxfHDnRw%40mail.gmail.com?utm_medium=email_source=footer>.

-- 
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/AM6PR10MB2887663ABDDF02466BA02762AA990%40AM6PR10MB2887.EURPRD10.PROD.OUTLOOK.COM.


Re: Help me out please

2020-06-20 Thread Alison Mukoma
Hey,

What you need first off will be a geo active db backend,  for that I will
advise you use something like this

Url: https://hub.docker.com/r/kartoza/postgis/

It's a postgres GIS powered db backend,  from there you can design your
models to hold any location type I.e as polygon, multipolygon, lat, long,
specifying of SRID for your map etc, line type etc and you will have all
capacity to search by coordinates and all.

>From there the rest should be convenient to accomplish.

Regards,
Alison

On Sat, 20 Jun 2020, 10:41 Vishesh Mangla, 
wrote:

> Easiest solution
>
> https://www.w3schools.com/html/html5_geolocation.asp
>
>
>
> Otherwise GeoDjango might have something
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *meera gangani 
> *Sent: *20 June 2020 14:03
> *To: *django-users@googlegroups.com
> *Subject: *Help me out please
>
>
>
> Hello ,
>
>
>
> I am working on attendance module in HR Project, So I implement
> something new, so as employee enter in the office and login to his system
> and click on to the check-in button his/her attendance will be marked,
>
>
>
>So that's why we need Map APi, First of all we want to find Longitude
> and latitude of our building, so we can mark his/her attendance,  so please
> can you help me out in troubled situation
>
>
>
> At least you can give some sort of idea of what I will use to
> implement this
>
>
>
> Thanking you in advance
>
> -Meera Gangani
>
> --
> 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/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
>
>
> --
> 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/805D1B9A-9026-46DB-B917-22F7357D325C%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/805D1B9A-9026-46DB-B917-22F7357D325C%40hxcore.ol?utm_medium=email_source=footer>
> .
>

-- 
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/CAKLADicxVwTpZytqv6NvtbPwHAc8zt-Fmr4TK%3DGaasHxfHDnRw%40mail.gmail.com.


RE: Help me out please

2020-06-20 Thread Vishesh Mangla
Easiest solutionhttps://www.w3schools.com/html/html5_geolocation.asp  Otherwise GeoDjango might have something Sent from Mail for Windows 10 From: meera ganganiSent: 20 June 2020 14:03To: django-users@googlegroups.comSubject: Help me out please Hello ,     I am working on attendance module in HR Project, So I implement something new, so as employee enter in the office and login to his system and click on to the check-in button his/her attendance will be marked,     So that's why we need Map APi, First of all we want to find Longitude and latitude of our building, so we can mark his/her attendance,  so please can you help me out in troubled situation      At least you can give some sort of idea of what I will use to implement this  Thanking you in advance -Meera Gangani-- 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/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%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/805D1B9A-9026-46DB-B917-22F7357D325C%40hxcore.ol.


Help me out please

2020-06-20 Thread meera gangani
Hello ,

I am working on attendance module in HR Project, So I implement
something new, so as employee enter in the office and login to his system
and click on to the check-in button his/her attendance will be marked,

   So that's why we need Map APi, First of all we want to find Longitude
and latitude of our building, so we can mark his/her attendance,  so please
can you help me out in troubled situation

At least you can give some sort of idea of what I will use to implement
this

Thanking you in advance
-Meera Gangani

-- 
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/CANaPPPJkTDyd%3DPdW5SoaVCwaKB%2BJKv0kqnid4EXFwYrrPF1X7g%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread Kunal Solanke
Django channels

On Fri, Jun 19, 2020, 12:01 meera gangani  wrote:

> Hello ,
>
> I want to implement a Notification module in my Project
> could you please help me out!
>
>
> Thank you
> -Meera Gangani
>
> --
> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAOecAnztK3rb0D%2BHk-qkz8_%3DMya1xReoYBrkjUQZWNxaU1dCfw%40mail.gmail.com.


RE: Please help me out!

2020-06-19 Thread Vishesh Mangla
See Django messages Sent from Mail for Windows 10 From: meera ganganiSent: 19 June 2020 12:01To: django-users@googlegroups.comSubject: Please help me out! Hello ,              I want to implement a Notification module in my Project could you please help me out!  Thank you-Meera Gangani-- 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%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/0DD42743-FD68-417A-9AB2-C78FD56B2FDB%40hxcore.ol.


Re: Please help me out!

2020-06-19 Thread Puneet Makhija
Meera, if you stuck anywhere
Then post your issue
Or contact me

On Fri, Jun 19, 2020, 4:00 PM meera gangani 
wrote:

> Yeah i already started my Project
> So I have an HR Project
> In this Project when admin enters the event details then the notification
> will be sent to the user
>
>
>
> On Fri, Jun 19, 2020 at 3:11 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> Hi, You can use this.
>>
>> https://pypi.org/project/django-notifications-hq/
>>
>> https://pypi.org/project/django-notification/
>>
>> On Fri, Jun 19, 2020 at 1:38 PM Doddahulugappa.B <
>> doddahuluga...@gmail.com> wrote:
>>
>>> Please elaborate more on your requirement
>>>
>>> On Fri, Jun 19, 2020, 10:31 AM meera gangani 
>>> wrote:
>>>
>>>> Hello ,
>>>>
>>>> I want to implement a Notification module in my Project
>>>> could you please help me out!
>>>>
>>>>
>>>> Thank you
>>>> -Meera Gangani
>>>>
>>>> --
>>>> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
>> --
>> 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/CAK5m3172%2BEbLGW0X%2Bdht4sSg7Ba8DejZCQXq%2B6%3D3tbJfiHtD7A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAK5m3172%2BEbLGW0X%2Bdht4sSg7Ba8DejZCQXq%2B6%3D3tbJfiHtD7A%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CANaPPPJU-nB%3DM4Jfjf6EKN5t9ZEptG_NM6kkY6%3DYgnjazy7DRQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJU-nB%3DM4Jfjf6EKN5t9ZEptG_NM6kkY6%3DYgnjazy7DRQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAHqz0_ZVX_U8YiNnWBHHf4v-kPnKwUzKnAe3JD65EqNVFZVFpw%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread meera gangani
Yeah i already started my Project
So I have an HR Project
In this Project when admin enters the event details then the notification
will be sent to the user



On Fri, Jun 19, 2020 at 3:11 PM RANGA BHARATH JINKA <
bharathjink...@gmail.com> wrote:

> Hi, You can use this.
>
> https://pypi.org/project/django-notifications-hq/
>
> https://pypi.org/project/django-notification/
>
> On Fri, Jun 19, 2020 at 1:38 PM Doddahulugappa.B 
> wrote:
>
>> Please elaborate more on your requirement
>>
>> On Fri, Jun 19, 2020, 10:31 AM meera gangani 
>> wrote:
>>
>>> Hello ,
>>>
>>>         I want to implement a Notification module in my Project
>>> could you please help me out!
>>>
>>>
>>> Thank you
>>> -Meera Gangani
>>>
>>> --
>>> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
> --
> 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/CAK5m3172%2BEbLGW0X%2Bdht4sSg7Ba8DejZCQXq%2B6%3D3tbJfiHtD7A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAK5m3172%2BEbLGW0X%2Bdht4sSg7Ba8DejZCQXq%2B6%3D3tbJfiHtD7A%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANaPPPJU-nB%3DM4Jfjf6EKN5t9ZEptG_NM6kkY6%3DYgnjazy7DRQ%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread RANGA BHARATH JINKA
Hi, You can use this.

https://pypi.org/project/django-notifications-hq/

https://pypi.org/project/django-notification/

On Fri, Jun 19, 2020 at 1:38 PM Doddahulugappa.B 
wrote:

> Please elaborate more on your requirement
>
> On Fri, Jun 19, 2020, 10:31 AM meera gangani 
> wrote:
>
>> Hello ,
>>
>> I want to implement a Notification module in my Project
>> could you please help me out!
>>
>>
>> Thank you
>> -Meera Gangani
>>
>> --
>> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
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/CAK5m3172%2BEbLGW0X%2Bdht4sSg7Ba8DejZCQXq%2B6%3D3tbJfiHtD7A%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread Doddahulugappa.B
Please elaborate more on your requirement

On Fri, Jun 19, 2020, 10:31 AM meera gangani 
wrote:

> Hello ,
>
> I want to implement a Notification module in my Project
> could you please help me out!
>
>
> Thank you
> -Meera Gangani
>
> --
> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAKfjjGpDpgBQ%3DK4%3DbjACmsSNE%2BddHndVvJMqR3FF43fLvjpejw%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread Puneet Makhija
Ma'am scratch se btana hai kya sab kuch
On Fri, Jun 19, 2020, 1:11 PM Puneet Makhija 
wrote:

> yes,  let me know
> U started your project?
>
>
> On Fri, Jun 19, 2020, 12:01 PM meera gangani 
> wrote:
>
>> Hello ,
>>
>> I want to implement a Notification module in my Project
>> could you please help me out!
>>
>>
>> Thank you
>> -Meera Gangani
>>
>> --
>> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/CAHqz0_aHyrZuG_F17E-VJaUUAUnKkZmTZuDbXR-pOhLLA5svKg%40mail.gmail.com.


Re: Please help me out!

2020-06-19 Thread Puneet Makhija
yes,  let me know
U started your project?


On Fri, Jun 19, 2020, 12:01 PM meera gangani 
wrote:

> Hello ,
>
> I want to implement a Notification module in my Project
> could you please help me out!
>
>
> Thank you
> -Meera Gangani
>
> --
> 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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAHqz0_YK6GDJo%2B2Uq6eJt%3DL--gYLPf1U3DNdejFx0oQGQTE9yw%40mail.gmail.com.


Please help me out!

2020-06-19 Thread meera gangani
Hello ,

I want to implement a Notification module in my Project
could you please help me out!


Thank you
-Meera Gangani

-- 
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/CANaPPPJJq_r9AZqeQACGqMpGjPzzx1sJA%3DLQr-K3FJ6s4%3DQkbA%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread Lily Perera Capetillo
Hi try this



Urlpatterns=[

path(“/myview”, views.myview, name=”myview”)

]



In this case

Href={% url ‘ App_name/myview’%}

Write your app name in App name

but here Href={% url ‘ App_name/myview’%} put it this way href={% url ‘
App_name:myview’%} with :

El mié., 3 jun. 2020 a las 8:00, meera gangani ()
escribió:

> Yes i Did,
> But Nothing is working,
> with data-toggle href is not working
>
> On Wed, Jun 3, 2020 at 1:00 PM Ajay Rathore  wrote:
>
>> Hello Meera,
>>
>> Did you try using urls as
>>
>> 
>>
>> And I think you should check what messages you received on the shell where 
>> you are running ./manage.py runserver command. This might give more 
>> information on the problem.
>>
>> Regards
>>
>> Ajay
>>
>>
>> On Wed, Jun 3, 2020 at 10:21 AM meera gangani 
>> wrote:
>>
>>> Hello Django-users
>>>
>>> href is not working
>>> here is my views.py file and my urls.py file
>>>
>>> Please Help me out!!
>>>
>>> Thank you in advance
>>> -Meera
>>>
>>> --
>>> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> 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/CANaPPPL0eZ4HbjGjV4-mYP2%2BEqg9egEspZGmyF2oBuNmgkwbyA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPL0eZ4HbjGjV4-mYP2%2BEqg9egEspZGmyF2oBuNmgkwbyA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAPuXgy6jOnWr5TsmBrLJ9%2BvHFE8Jp76Zgn_UJRW33H4-abnnxQ%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread Hella Nick
请检查您的路由地址,问题就出现在那里。

meera gangani 于2020年6月3日 周三15:19写道:

> Hello Django-users
>
> href is not working
> here is my views.py file and my urls.py file
>
> Please Help me out!!
>
> Thank you in advance
> -Meera
>
> --
> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAHfGPEc9AZU0Y-xJLBZ0N2jwoDVioG3SLnnTQOickCE%3DsQOKsQ%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread Integr@te System
Hi freind,

You ever check typo in your code in base.html on for loop at "noti"!?

gl!

On Wed, Jun 3, 2020, 2:20 PM meera gangani  wrote:

> Hello Django-users
>
> href is not working
> here is my views.py file and my urls.py file
>
> Please Help me out!!
>
> Thank you in advance
> -Meera
>
> --
> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAP5HUWq7YG2-b7ZanR%3DzYwkbv4wBw6-5qo%3DsMVBb5r3%2BfB%3DRYg%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread 'Ajay Rathore' via Django users
Hello Meera,

Did you try using urls as



And I think you should check what messages you received on the shell
where you are running ./manage.py runserver command. This might give
more information on the problem.

Regards

Ajay


On Wed, Jun 3, 2020 at 10:21 AM meera gangani 
wrote:

> Hello Django-users
>
> href is not working
> here is my views.py file and my urls.py file
>
> Please Help me out!!
>
> Thank you in advance
> -Meera
>
> --
> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CACDrS2ohxmNQAXouO1xHK6ktMjnCBqu16ctV99ESBPV3ifgqrg%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread maninder singh Kumar
Is it a navbar or just a plain dropdown ?


[image: --]

Maninder Kumar
[image: http://]about.me/maninder.s.kumar
<http://about.me/maninder.s.kumar?promo=email_sig>




On Wed, Jun 3, 2020 at 1:31 PM meera gangani 
wrote:

> Yes i Did,
> But Nothing is working,
> with data-toggle href is not working
>
> On Wed, Jun 3, 2020 at 1:00 PM Ajay Rathore  wrote:
>
>> Hello Meera,
>>
>> Did you try using urls as
>>
>> 
>>
>> And I think you should check what messages you received on the shell where 
>> you are running ./manage.py runserver command. This might give more 
>> information on the problem.
>>
>> Regards
>>
>> Ajay
>>
>>
>> On Wed, Jun 3, 2020 at 10:21 AM meera gangani 
>> wrote:
>>
>>> Hello Django-users
>>>
>>> href is not working
>>> here is my views.py file and my urls.py file
>>>
>>> Please Help me out!!
>>>
>>> Thank you in advance
>>> -Meera
>>>
>>> --
>>> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> 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/CANaPPPL0eZ4HbjGjV4-mYP2%2BEqg9egEspZGmyF2oBuNmgkwbyA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPL0eZ4HbjGjV4-mYP2%2BEqg9egEspZGmyF2oBuNmgkwbyA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CABOHK3SyS6mOd4jiRLpEd_m_bcBUmt8GVG4BMidi%2BfY%3DB4sasA%40mail.gmail.com.


Re: Please help me out!!!!!

2020-06-03 Thread meera gangani
Yes i Did,
But Nothing is working,
with data-toggle href is not working

On Wed, Jun 3, 2020 at 1:00 PM Ajay Rathore  wrote:

> Hello Meera,
>
> Did you try using urls as
>
> 
>
> And I think you should check what messages you received on the shell where 
> you are running ./manage.py runserver command. This might give more 
> information on the problem.
>
> Regards
>
> Ajay
>
>
> On Wed, Jun 3, 2020 at 10:21 AM meera gangani 
> wrote:
>
>> Hello Django-users
>>
>> href is not working
>> here is my views.py file and my urls.py file
>>
>> Please Help me out!!
>>
>> Thank you in advance
>> -Meera
>>
>> --
>> 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/CANaPPPL0eZ4HbjGjV4-mYP2%2BEqg9egEspZGmyF2oBuNmgkwbyA%40mail.gmail.com.


RE: Please help me out!!!!!

2020-06-03 Thread Vishesh Mangla
Href="" url ‘ name’%}Where name is the name parameter of the view in urls.py. Urlpatterns=[path(“/myview”, views.myview, name=”myview”)] In this caseHref="" url ‘ App_name/myview’%}Write your app name in App name Sent from Mail for Windows 10 From: meera ganganiSent: 03 June 2020 12:49To: django-users@googlegroups.comSubject: Please help me out! Hello Django-users href is not workinghere is my views.py file and my urls.py file Please Help me out!! Thank you in advance-Meera-- 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/CANaPPPLbk6JV8tQjxkKUiN-H%3D_JLHjztMQfGLK6oUx9ootEojg%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/B95F9502-B7D0-49C6-8E4E-0C3B2F80EF21%40hxcore.ol.


Re: Please help me out!!

2020-06-01 Thread Kasper Laudrup

Hi Meer,a

On 01/06/2020 19.50, meera gangani wrote:

I want to mark the attendance of all the employee
So , my I’m working on hr management system .
And we have to mark the attendance of all the employee
So, we thought something new we can implement

So we find a way
1. to using MAC address otherwise IP address
2. Employee comes in building he can login into the system and click on 
the check-in button ( using longitude and latitude we find a office 
premises and then we can apply API key )


So which api key I can use?
And how to solve this problem?



You can't. However you try to implement that will be extremely 
unreliable and the client can spoof it anyway if they choose to do that.


Make the client login/employee check-in and out with some normal 
authentication mechanism. It's much easier so need to waste a lot of 
time trying to implement something that will never work anyway.


If you want to make some kind of tracking/surveillance system I'm sure 
you can do that but this is not the way to go.


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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/90c33527-fea2-a7f6-d146-20ab332620b2%40stacktrace.dk.


Please help me out!!

2020-06-01 Thread meera gangani
I want to mark the attendance of all the employee
So , my I’m working on hr management system .
And we have to mark the attendance of all the employee
So, we thought something new we can implement

So we find a way
1. to using MAC address otherwise IP address
2. Employee comes in building he can login into the system and click on the
check-in button ( using longitude and latitude we find a office premises
and then we can apply API key )

So which api key I can use?
And how to solve this problem?


Thanks in advance
-Meera

-- 
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/CANaPPPJnkcNhBK23VkrXBAM7hqU%2ByEGtQ9r6nZCGOKtbsuhfKw%40mail.gmail.com.


Re: Can You please help me out!!!

2020-05-31 Thread Julio Cojom
Boolean field on notification model that change status when click or view
the notification , this perhaps need an asynchronous task with jQuery or
celery

Rewards

El vie., 29 de mayo de 2020 9:28 p. m., meera gangani <
meeragangan...@gmail.com> escribió:

> I Want to implement Mark all a read in notification!!
> So What should i do!!
> Can you explain me a little bit of this!
>
> On Sat, May 30, 2020 at 8:46 AM meera gangani 
> wrote:
>
>> Thank you So much for helping me out!!
>> Thanks a lot
>>
>> Meera Gangani
>>
>> On Fri, May 29, 2020 at 5:08 PM Sencer Hamarat 
>> wrote:
>>
>>> Hi Meera,
>>>
>>> You have only one record because of you are using .latest() method in
>>> the query.
>>>
>>> If you want to last 3 or 4 object ordered by descending date, you should
>>> write queryset like this:
>>>
>>> notifications = Notification.objects.all().order_by('-date')[0:x]  # The
>>> 'x' could be 3 or 4 by your choice.
>>>
>>> An pass the notifications to request context in 'render_to_response'
>>> call. {'notifications': notifications}
>>>
>>> The you have to iterate notifications in template via for loop. For
>>> example;
>>>
>>> {% for notification in notifications %}
>>> notification.title
>>> notification.message
>>> notification.date
>>> {% endfor %}
>>>
>>> Saygılarımla,
>>> Sencer HAMARAT
>>>
>>>
>>>
>>> On Fri, May 29, 2020 at 1:59 PM meera gangani 
>>> wrote:
>>>
>>>> i want to fetch last 3 records for notification!!
>>>> But I only fetch last 1 record.
>>>>
>>>> Can you please help me out!!!
>>>> Can i use filters??
>>>>
>>>> And my model fields are:
>>>> title=
>>>> message=
>>>> date=
>>>>
>>>> And i want to fetch last 3-4 records
>>>>
>>>> --
>>>> 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/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> 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/CANaPPPLnRv2matia%2B6Xm9j0cSoNHYWnn8HMt08ojmqxQOrXvCg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPLnRv2matia%2B6Xm9j0cSoNHYWnn8HMt08ojmqxQOrXvCg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAHRQUH%3DZniCZo8YLG%3DG%3DbXQDJddqQ1%2BGGLFnFx4A_jrtLerjeg%40mail.gmail.com.


Re: Please help me out?

2020-05-31 Thread Larry Martell
On Sat, May 30, 2020 at 11:30 PM meera gangani  wrote:
>
>  I want to generate trello-board in my django application
> Can anyone tell me the How to do this?
> Trello-board is like( to-do and future enhancements and doing ) where there 
> are 3-4 columns

Take a look at https://github.com/riktar/jkanban

-- 
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/CACwCsY4HUJmo4rEMMgRereAg9n6Dz75bsPLb3UFUuPAbsKj9CA%40mail.gmail.com.


Re: Please help me out?

2020-05-31 Thread meera gangani
Like I have to implement trello board function in django
In order that I have to implement archieve functionality and separately
provided boxes for that
1.todo
2.doing
3 future enhancements etc.

On Sunday, May 31, 2020, Sharva kant  wrote:

> Hi Meera,
>
> I believe you would have to use Javascript framework on front end to do
> that. You can use Vuejs, Angular js , React or Ember to do that
>
> Cheers
> Sharva
>
> On Sat, 30 May 2020 at 22:31, meera gangani 
> wrote:
>
>>  I want to generate trello-board in my django application
>> Can anyone tell me the How to do this?
>> Trello-board is like( to-do and future enhancements and doing ) where
>> there are 3-4 columns
>>
>>
>> In-advance thank you
>> -Meera Gangani
>>
>> --
>> 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/CANaPPP%2BZO-552o6%3DJDoc-mCBZ1Q%
>> 3DCrv0JE%2B-e%3DzFKRAzfHFMgQ%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/CAKRQzujLOV%2BtUKZkh4%2Bi1VJWcE%3DeHLWoaKcbZXbjaMq_
> xoBOEw%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/CANaPPPJOT5SWdWz8QbS2p6_fRTuWttLv6bm6PKfFaArhCPvkAQ%40mail.gmail.com.


Re: Please help me out?

2020-05-30 Thread Sharva kant
Hi Meera,

I believe you would have to use Javascript framework on front end to do
that. You can use Vuejs, Angular js , React or Ember to do that

Cheers
Sharva

On Sat, 30 May 2020 at 22:31, meera gangani 
wrote:

>  I want to generate trello-board in my django application
> Can anyone tell me the How to do this?
> Trello-board is like( to-do and future enhancements and doing ) where
> there are 3-4 columns
>
>
> In-advance thank you
> -Meera Gangani
>
> --
> 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/CANaPPP%2BZO-552o6%3DJDoc-mCBZ1Q%3DCrv0JE%2B-e%3DzFKRAzfHFMgQ%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/CAKRQzujLOV%2BtUKZkh4%2Bi1VJWcE%3DeHLWoaKcbZXbjaMq_xoBOEw%40mail.gmail.com.


Please help me out?

2020-05-30 Thread meera gangani
 I want to generate trello-board in my django application
Can anyone tell me the How to do this?
Trello-board is like( to-do and future enhancements and doing ) where there
are 3-4 columns


In-advance thank you
-Meera Gangani

-- 
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/CANaPPP%2BZO-552o6%3DJDoc-mCBZ1Q%3DCrv0JE%2B-e%3DzFKRAzfHFMgQ%40mail.gmail.com.


Re: Can You please help me out!!!

2020-05-29 Thread meera gangani
I Want to implement Mark all a read in notification!!
So What should i do!!
Can you explain me a little bit of this!

On Sat, May 30, 2020 at 8:46 AM meera gangani 
wrote:

> Thank you So much for helping me out!!
> Thanks a lot
>
> Meera Gangani
>
> On Fri, May 29, 2020 at 5:08 PM Sencer Hamarat 
> wrote:
>
>> Hi Meera,
>>
>> You have only one record because of you are using .latest() method in the
>> query.
>>
>> If you want to last 3 or 4 object ordered by descending date, you should
>> write queryset like this:
>>
>> notifications = Notification.objects.all().order_by('-date')[0:x]  # The
>> 'x' could be 3 or 4 by your choice.
>>
>> An pass the notifications to request context in 'render_to_response'
>> call. {'notifications': notifications}
>>
>> The you have to iterate notifications in template via for loop. For
>> example;
>>
>> {% for notification in notifications %}
>> notification.title
>> notification.message
>> notification.date
>> {% endfor %}
>>
>> Saygılarımla,
>> Sencer HAMARAT
>>
>>
>>
>> On Fri, May 29, 2020 at 1:59 PM meera gangani 
>> wrote:
>>
>>> i want to fetch last 3 records for notification!!
>>> But I only fetch last 1 record.
>>>
>>> Can you please help me out!!!
>>> Can i use filters??
>>>
>>> And my model fields are:
>>> title=
>>> message=
>>> date=
>>>
>>> And i want to fetch last 3-4 records
>>>
>>> --
>>> 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/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/CANaPPPLnRv2matia%2B6Xm9j0cSoNHYWnn8HMt08ojmqxQOrXvCg%40mail.gmail.com.


Re: Can You please help me out!!!

2020-05-29 Thread meera gangani
Thank you So much for helping me out!!
Thanks a lot

Meera Gangani

On Fri, May 29, 2020 at 5:08 PM Sencer Hamarat 
wrote:

> Hi Meera,
>
> You have only one record because of you are using .latest() method in the
> query.
>
> If you want to last 3 or 4 object ordered by descending date, you should
> write queryset like this:
>
> notifications = Notification.objects.all().order_by('-date')[0:x]  # The
> 'x' could be 3 or 4 by your choice.
>
> An pass the notifications to request context in 'render_to_response' call.
> {'notifications': notifications}
>
> The you have to iterate notifications in template via for loop. For
> example;
>
> {% for notification in notifications %}
> notification.title
> notification.message
> notification.date
> {% endfor %}
>
> Saygılarımla,
> Sencer HAMARAT
>
>
>
> On Fri, May 29, 2020 at 1:59 PM meera gangani 
> wrote:
>
>> i want to fetch last 3 records for notification!!
>> But I only fetch last 1 record.
>>
>> Can you please help me out!!!
>> Can i use filters??
>>
>> And my model fields are:
>> title=
>> message=
>> date=
>>
>> And i want to fetch last 3-4 records
>>
>> --
>> 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/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANaPPP%2BwXHHeQfZOrqAOfwPfLwKhGUiV4v4Nbu%3DnRYNeWS-qrQ%40mail.gmail.com.


Re: Can You please help me out!!!

2020-05-29 Thread Sencer Hamarat
Hi Meera,

You have only one record because of you are using .latest() method in the
query.

If you want to last 3 or 4 object ordered by descending date, you should
write queryset like this:

notifications = Notification.objects.all().order_by('-date')[0:x]  # The
'x' could be 3 or 4 by your choice.

An pass the notifications to request context in 'render_to_response' call.
{'notifications': notifications}

The you have to iterate notifications in template via for loop. For example;

{% for notification in notifications %}
notification.title
notification.message
notification.date
{% endfor %}

Saygılarımla,
Sencer HAMARAT



On Fri, May 29, 2020 at 1:59 PM meera gangani 
wrote:

> i want to fetch last 3 records for notification!!
> But I only fetch last 1 record.
>
> Can you please help me out!!!
> Can i use filters??
>
> And my model fields are:
> title=
> message=
> date=
>
> And i want to fetch last 3-4 records
>
> --
> 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/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CACp8TZh3iD4M2%3Ddq4NOrPTpOzAYCFxx_kduS6%2BK%2BEG2kPDFkYA%40mail.gmail.com.


Re: Please help me out?

2020-05-21 Thread o1bigtenor
On Thu, May 21, 2020 at 2:10 PM Kasper Laudrup  wrote:
>
> Hi Meera,
>
> On 21/05/2020 14.50, meera gangani wrote:
> > Actually my Problem is that i want to mark the attendance of all the
> > employee using ip address referenced to the mac address
> > So First I turned ip into whitelisting ip(Trusted IP Addresses )
> > then what was the implementation I do?
> >
>
> It is not very clear what you are trying to achieve. What do mean by
> "mark the attendance of all the employee"?
>
> Anyway, you shouldn't attempt to trust any client based on IP address.
> That is trivial to spoof and there really isn't any way around that
> because of how HTTP works.
>
> I don't understand what you mean by "ip address referenced to the mac
> address" either. Are you talking about the ARP cache on the host running
> Django? Do you want to do ARP lookups on the local network? Why?
>
> Please be more clear on what your problem is and what exactly you want
> to achieve.
>

My guess () is that someone wants to take attendance without
physically being
in a location. The idea is to use the presence of a 'stupid' phone to mark the
physical location of its bearer. (Just imo.)

Regards

-- 
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/CAPpdf5_2sG-9FZG0jvaHd9ydp0yakbjuTGQntqpSYmXQ4LpPmQ%40mail.gmail.com.


Re: Please help me out?

2020-05-21 Thread Kasper Laudrup

Hi Meera,

On 21/05/2020 14.50, meera gangani wrote:
Actually my Problem is that i want to mark the attendance of all the 
employee using ip address referenced to the mac address

So First I turned ip into whitelisting ip(Trusted IP Addresses )
then what was the implementation I do?



It is not very clear what you are trying to achieve. What do mean by 
"mark the attendance of all the employee"?


Anyway, you shouldn't attempt to trust any client based on IP address. 
That is trivial to spoof and there really isn't any way around that 
because of how HTTP works.


I don't understand what you mean by "ip address referenced to the mac 
address" either. Are you talking about the ARP cache on the host running 
Django? Do you want to do ARP lookups on the local network? Why?


Please be more clear on what your problem is and what exactly you want 
to achieve.


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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8bfea02f-668d-1294-0dd0-fec79358ad01%40stacktrace.dk.


Re: Please help me out?

2020-05-21 Thread meera gangani
I am sorry for my behaviour actually i am not understood the message
properly. So That's why
Actually my Problem is that i want to mark the attendance of all the
employee using ip address referenced to the mac address
So First I turned ip into whitelisting ip(Trusted IP Addresses )
then what was the implementation I do?

Thanking You In Advance

On Thu, May 21, 2020 at 5:41 PM Anuroop Pendela 
wrote:

> By default there would be ip address in the request object. But the ip is
> network ip. In the case where If multiple employees connect to same network
> and mark attendance then you will see duplicate ip address entries for
> different employees. For unique and authenticity of attendance you might
> need to go for location based solution which is easy capturing from mobile
> or browser.
>
> On Thu 21 May, 2020, 10:39 AM meera gangani, 
> wrote:
>
>> I want to mark the attendance of employee using ip address or any other
>> way
>> can you please help me out of the situation?
>>
>> Thanking You,
>> Meera.
>>
>> --
>> 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/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CANJhOQ584EHKjhqpcKiKd1X%3Dgh_Gs9QJy%3DW5F79JsKFiuoh6mw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANJhOQ584EHKjhqpcKiKd1X%3Dgh_Gs9QJy%3DW5F79JsKFiuoh6mw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANaPPPJotofLrWnr98DEbekkTGE_D8UR0pB1o4jMKBZOz%3D8qww%40mail.gmail.com.


Re: Please help me out?

2020-05-21 Thread 'Arno Franken' via Django users
Plees Mera, respect the the recommendation of Vishesh as his answer is 
completely straight to me and you should be thankful. The point is, what is 
exactly your question? That's the point I do not understand, your question 
is really vague. To help you out:
- What have you already tried?
- What is your datamodel looking like?
- Etc.

Based on the answers on these questions, we can help you further.

Op donderdag 21 mei 2020 09:14:12 UTC+2 schreef meera gangani:
>
> What is the point of these message!!!
>
>
> On Thu, May 21, 2020 at 10:53 AM Vishesh Mangla  > wrote:
>
>> You need to look at the “header” of the request object for those details.
>>
>>  
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
>> Windows 10
>>
>>  
>>
>> *From: *meera gangani 
>> *Sent: *21 May 2020 10:39
>> *To: *django...@googlegroups.com 
>> *Subject: *Please help me out?
>>
>>  
>>
>> I want to mark the attendance of employee using ip address or any other 
>> way
>>
>> can you please help me out of the situation?
>>
>>  
>>
>> Thanking You,
>>
>> Meera.
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>>  
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/5ec61042.1c69fb81.acd42.0c85%40mx.google.com
>>  
>> <https://groups.google.com/d/msgid/django-users/5ec61042.1c69fb81.acd42.0c85%40mx.google.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/b8f7be57-fbb8-442a-8f0b-cd7f1abae4fa%40googlegroups.com.


Re: Please help me out?

2020-05-21 Thread Anuroop Pendela
By default there would be ip address in the request object. But the ip is
network ip. In the case where If multiple employees connect to same network
and mark attendance then you will see duplicate ip address entries for
different employees. For unique and authenticity of attendance you might
need to go for location based solution which is easy capturing from mobile
or browser.

On Thu 21 May, 2020, 10:39 AM meera gangani, 
wrote:

> I want to mark the attendance of employee using ip address or any other way
> can you please help me out of the situation?
>
> Thanking You,
> Meera.
>
> --
> 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/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANJhOQ584EHKjhqpcKiKd1X%3Dgh_Gs9QJy%3DW5F79JsKFiuoh6mw%40mail.gmail.com.


Re: Please help me out?

2020-05-21 Thread meera gangani
What is the point of these message!!!


On Thu, May 21, 2020 at 10:53 AM Vishesh Mangla 
wrote:

> You need to look at the “header” of the request object for those details.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *meera gangani 
> *Sent: *21 May 2020 10:39
> *To: *django-users@googlegroups.com
> *Subject: *Please help me out?
>
>
>
> I want to mark the attendance of employee using ip address or any other way
>
> can you please help me out of the situation?
>
>
>
> Thanking You,
>
> Meera.
>
> --
> 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/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
>
>
> --
> 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/5ec61042.1c69fb81.acd42.0c85%40mx.google.com
> <https://groups.google.com/d/msgid/django-users/5ec61042.1c69fb81.acd42.0c85%40mx.google.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANaPPPLRgjjQzrS4d7UjM2v2c2dTAtNjTZfRAMK71rw%2B%3Dv9QNw%40mail.gmail.com.


RE: Please help me out?

2020-05-20 Thread Vishesh Mangla
You need to look at the “header” of the request object for those details. Sent from Mail for Windows 10 From: meera ganganiSent: 21 May 2020 10:39To: django-users@googlegroups.comSubject: Please help me out? I want to mark the attendance of employee using ip address or any other waycan you please help me out of the situation? Thanking You,Meera.-- 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/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%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/5ec61042.1c69fb81.acd42.0c85%40mx.google.com.


Please help me out?

2020-05-20 Thread meera gangani
I want to mark the attendance of employee using ip address or any other way
can you please help me out of the situation?

Thanking You,
Meera.

-- 
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/CANaPPPJY3JypYQaWbbx%3DNQe6SyUghvXXRRF4SK3iER0N0wa0OQ%40mail.gmail.com.


Re: Can you help me out?

2020-05-20 Thread Suraj Thapa FC
Django channels

On Wed, 20 May, 2020, 9:07 pm chaitanya orakala, 
wrote:

> Hi Meera,
> Please go through this link, it might help you
> https://chatterbot.readthedocs.io/en/stable/django/
>
> how ever if you are ok with third-party applications,  you can choose
> Zendesk or Drift.
>
> Thank You
>
> On Wed, May 20, 2020 at 11:19 AM meera gangani 
> wrote:
>
>> I create a chatroom in django
>> Please let me help if you know how to do it?
>> Otherwise you can tell me a library so at least I can do it myself?
>>
>>
>> Thanking You
>> -Meera
>>
>> --
>> 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/CANaPPPKytMLmEWGMhe5Y6zGEW25P1uPAdbXY%2BB3xH%2BcQHZgAAg%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/CAPcTzRYe57-UkcfxTSWj7%3D_Jm49cDdn1h1_kGKhR0boob-zU5A%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/CAPjsHcGx17-bCNT1bAL9vPGpx-btD3_fdCMJzMm4JDbAhPms8A%40mail.gmail.com.


Re: Can you help me out?

2020-05-20 Thread chaitanya orakala
Hi Meera,
Please go through this link, it might help you
https://chatterbot.readthedocs.io/en/stable/django/

how ever if you are ok with third-party applications,  you can choose
Zendesk or Drift.

Thank You

On Wed, May 20, 2020 at 11:19 AM meera gangani 
wrote:

> I create a chatroom in django
> Please let me help if you know how to do it?
> Otherwise you can tell me a library so at least I can do it myself?
>
>
> Thanking You
> -Meera
>
> --
> 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/CANaPPPKytMLmEWGMhe5Y6zGEW25P1uPAdbXY%2BB3xH%2BcQHZgAAg%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/CAPcTzRYe57-UkcfxTSWj7%3D_Jm49cDdn1h1_kGKhR0boob-zU5A%40mail.gmail.com.


Can you help me out?

2020-05-20 Thread meera gangani
I create a chatroom in django
Please let me help if you know how to do it?
Otherwise you can tell me a library so at least I can do it myself?


Thanking You
-Meera

-- 
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/CANaPPPKytMLmEWGMhe5Y6zGEW25P1uPAdbXY%2BB3xH%2BcQHZgAAg%40mail.gmail.com.


Re: I'm new to this django help me out

2020-05-19 Thread meera gangani
You can watch django tutorial series on youtube
otherwise you can also apply to the courses on coursera or udemy

On Tuesday, May 5, 2020 at 10:55:48 PM UTC+5:30, sree lekha wrote:
>
>

-- 
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/9bd4397f-12d9-4816-b8ce-4a43d597612a%40googlegroups.com.


Re: I'm new to this django help me out

2020-05-15 Thread Bighnesh Pradhan
use snipping tool

On Fri, May 15, 2020 at 9:47 PM Sunday Iyanu Ajayi 
wrote:

>  You can host the project on a server and share the url
>
> Or can you enlighten me on what you mean by output?- The Web app ?
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
>
>
> On Fri, May 15, 2020 at 3:15 PM sree lekha 
> wrote:
>
>> how can i share the output of a django program to others
>>
>> --
>> 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/CAC0VY9zxM0SaSoQF5QpywiKbvy0g1LijoB5%2B%3D2y_Ak1gvwmnFQ%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/CAKYSAw3WxqupqA0%3DesFXqNBa_sGs%2Bc3%3Dwih3HmgxyfwYvHL1vw%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/CAGa5oYziChB%3DKMWASbQ1i6u_CN%3D6n67B4E3br1KUHQX%2B1oi7eA%40mail.gmail.com.


Re: I'm new to this django help me out

2020-05-15 Thread Sunday Iyanu Ajayi
 You can host the project on a server and share the url

Or can you enlighten me on what you mean by output?- The Web app ?
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *



On Fri, May 15, 2020 at 3:15 PM sree lekha  wrote:

> how can i share the output of a django program to others
>
> --
> 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/CAC0VY9zxM0SaSoQF5QpywiKbvy0g1LijoB5%2B%3D2y_Ak1gvwmnFQ%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/CAKYSAw3WxqupqA0%3DesFXqNBa_sGs%2Bc3%3Dwih3HmgxyfwYvHL1vw%40mail.gmail.com.


Re: I'm new to this django help me out

2020-05-15 Thread sree lekha
how can i share the output of a django program to others

-- 
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/CAC0VY9zxM0SaSoQF5QpywiKbvy0g1LijoB5%2B%3D2y_Ak1gvwmnFQ%40mail.gmail.com.


Re: I'm new to this django help me out

2020-05-06 Thread Robert Rajendra
state your question


On Tue, 5 May 2020 at 23:02, Sherif Adigun  wrote:

> what is your question?
>
> On Tuesday, May 5, 2020 at 6:25:48 PM UTC+1, sree lekha wrote:
>>
>> --
> 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/f432b7cc-a4f1-4f2a-a0af-39d918696c18%40googlegroups.com
> 
> .
>


-- 

*Robert Rajendra*

Associate Network/Server Support Engineer

ITH

P: +91 863.087.3094 <+91%2086308%2073094>

W: www.ITHands.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/CABbC_KHdUvk2_gc%3D0fQ7vXVnOeOt-6VVb2TjJKYhmPXj3rPoVg%40mail.gmail.com.


Re: I'm new to this django help me out

2020-05-05 Thread Sherif Adigun
what is your question?

On Tuesday, May 5, 2020 at 6:25:48 PM UTC+1, sree lekha wrote:
>
>

-- 
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/f432b7cc-a4f1-4f2a-a0af-39d918696c18%40googlegroups.com.


I'm new to this django help me out

2020-05-05 Thread sree lekha
-- 
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/801c1f7d-b7ef-423b-989a-c116827e8a05%40googlegroups.com.


Re: I'm new in Django. please help me out

2018-11-13 Thread Joel
You're bound to be trolled if you post a question which clearly looks like
an assignment, with zero effort on your part. Where's your code? What did
you try?

On Tue, 13 Nov, 2018, 3:38 PM Dheeraj Kumar  if you guys do not help ,plz ignore it insist of trying to be over
> smart.this is home work or any thing else you are not authorized to comment
> like this.
>
> just stop it.
>
> On Tue, 13 Nov 2018 at 15:30, amit pant  wrote:
>
>>  sometimes
>>
>> On Tue, Nov 13, 2018 at 3:23 PM PASCUAL Eric 
>> wrote:
>>
>>> > hey, you need to pay for that.
>>>
>>>
>>> Seen quite frequently : some of the visitors of community groups such as
>>> this one confuse them with "do_my_job_for_free.com" or "
>>> do_my_homework.com" 
>>>
>>>
>>> Eric
>>> --
>>> *From:* django-users@googlegroups.com 
>>> on behalf of amit pant 
>>> *Sent:* Tuesday, November 13, 2018 10:27:13 AM
>>> *To:* django-users@googlegroups.com
>>> *Subject:* Re: I'm new in Django. please help me out
>>>
>>> hey, you need to pay for that.
>>>
>>> On Tue, Nov 13, 2018 at 2:55 PM  wrote:
>>>
>>> Hi All,
>>>
>>> can you please solve this.
>>>
>>> 1) Create a simple Category model using DRF with following fields :
>>> Id,name,parent,is_featured,image,is_active,description
>>> 2) Create CRUD APIs for the same.
>>> 3) Validate input at every event/API.
>>> 4) Implement ordering and filtering.
>>> 5) GET API should take params to return :
>>> Ex. /abc.com?params=id|name|is_featured
>>> <http://abc.com?params=id%7Cname%7Cis_featured> : this should return
>>> Array of JSON
>>> object with specified keys, along with an authenticated key mentioning
>>> user
>>> authentication status.
>>>
>>> Thanks
>>>
>>> --
>>> 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 django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> 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 django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> 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 django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM
>>> <https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" gro

Re: I'm new in Django. please help me out

2018-11-13 Thread Dheeraj Kumar
if you guys do not help ,plz ignore it insist of trying to be over
smart.this is home work or any thing else you are not authorized to comment
like this.

just stop it.

On Tue, 13 Nov 2018 at 15:30, amit pant  wrote:

>  sometimes
>
> On Tue, Nov 13, 2018 at 3:23 PM PASCUAL Eric  wrote:
>
>> > hey, you need to pay for that.
>>
>>
>> Seen quite frequently : some of the visitors of community groups such as
>> this one confuse them with "do_my_job_for_free.com" or "
>> do_my_homework.com" 
>>
>>
>> Eric
>> --
>> *From:* django-users@googlegroups.com  on
>> behalf of amit pant 
>> *Sent:* Tuesday, November 13, 2018 10:27:13 AM
>> *To:* django-users@googlegroups.com
>> *Subject:* Re: I'm new in Django. please help me out
>>
>> hey, you need to pay for that.
>>
>> On Tue, Nov 13, 2018 at 2:55 PM  wrote:
>>
>> Hi All,
>>
>> can you please solve this.
>>
>> 1) Create a simple Category model using DRF with following fields :
>> Id,name,parent,is_featured,image,is_active,description
>> 2) Create CRUD APIs for the same.
>> 3) Validate input at every event/API.
>> 4) Implement ordering and filtering.
>> 5) GET API should take params to return :
>> Ex. /abc.com?params=id|name|is_featured
>> <http://abc.com?params=id%7Cname%7Cis_featured> : this should return
>> Array of JSON
>> object with specified keys, along with an authenticated key mentioning
>> user
>> authentication status.
>>
>> Thanks
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM
>> <https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF2Ah_Et%3DhoYJnBVhzXCaHRO%2B_iyRS4x1-6vrPaOYPUGTxjS2Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF2Ah_Et%3DhoYJnBVhzXCaHRO%2B_iyRS4x1-6vrPaOYPUGTxjS2Q%40mail.gmail

Re: I'm new in Django. please help me out

2018-11-13 Thread amit pant
 sometimes

On Tue, Nov 13, 2018 at 3:23 PM PASCUAL Eric  wrote:

> > hey, you need to pay for that.
>
>
> Seen quite frequently : some of the visitors of community groups such as
> this one confuse them with "do_my_job_for_free.com" or "do_my_homework.com"
> 
>
>
> Eric
> --
> *From:* django-users@googlegroups.com  on
> behalf of amit pant 
> *Sent:* Tuesday, November 13, 2018 10:27:13 AM
> *To:* django-users@googlegroups.com
> *Subject:* Re: I'm new in Django. please help me out
>
> hey, you need to pay for that.
>
> On Tue, Nov 13, 2018 at 2:55 PM  wrote:
>
> Hi All,
>
> can you please solve this.
>
> 1) Create a simple Category model using DRF with following fields :
> Id,name,parent,is_featured,image,is_active,description
> 2) Create CRUD APIs for the same.
> 3) Validate input at every event/API.
> 4) Implement ordering and filtering.
> 5) GET API should take params to return :
> Ex. /abc.com?params=id|name|is_featured
> <http://abc.com?params=id%7Cname%7Cis_featured> : this should return
> Array of JSON
> object with specified keys, along with an authenticated key mentioning user
> authentication status.
>
> Thanks
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM
> <https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF2Ah_Et%3DhoYJnBVhzXCaHRO%2B_iyRS4x1-6vrPaOYPUGTxjS2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: I'm new in Django. please help me out

2018-11-13 Thread PASCUAL Eric
> hey, you need to pay for that.


Seen quite frequently : some of the visitors of community groups such as this 
one confuse them with "do_my_job_for_free.com" or "do_my_homework.com" 


Eric


From: django-users@googlegroups.com  on behalf 
of amit pant 
Sent: Tuesday, November 13, 2018 10:27:13 AM
To: django-users@googlegroups.com
Subject: Re: I'm new in Django. please help me out

hey, you need to pay for that.

On Tue, Nov 13, 2018 at 2:55 PM mailto:talk...@gmail.com>> 
wrote:
Hi All,

can you please solve this.

1) Create a simple Category model using DRF with following fields :
Id,name,parent,is_featured,image,is_active,description
2) Create CRUD APIs for the same.
3) Validate input at every event/API.
4) Implement ordering and filtering.
5) GET API should take params to return :
Ex. 
/abc.com?params=id|name|is_featured<http://abc.com?params=id%7Cname%7Cis_featured>
 : this should return Array of JSON
object with specified keys, along with an authenticated key mentioning user
authentication status.

Thanks

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com<https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com?utm_medium=email_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com?utm_medium=email_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/VI1P193MB043255EC430059412851527A8CC20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.


Re: I'm new in Django. please help me out

2018-11-13 Thread amit pant
hey, you need to pay for that.

On Tue, Nov 13, 2018 at 2:55 PM  wrote:

> Hi All,
>
> can you please solve this.
>
> 1) Create a simple Category model using DRF with following fields :
> Id,name,parent,is_featured,image,is_active,description
> 2) Create CRUD APIs for the same.
> 3) Validate input at every event/API.
> 4) Implement ordering and filtering.
> 5) GET API should take params to return :
> Ex. /abc.com?params=id|name|is_featured
>  : this should return
> Array of JSON
> object with specified keys, along with an authenticated key mentioning user
> authentication status.
>
> Thanks
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF2Ah_FcL0UEGVFhJBE_nCdCHXFTQyWbzmqPbPV5v13k04r_6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


I'm new in Django. please help me out

2018-11-13 Thread talkdkg
Hi All,

can you please solve this.

1) Create a simple Category model using DRF with following fields :
Id,name,parent,is_featured,image,is_active,description
2) Create CRUD APIs for the same.
3) Validate input at every event/API.
4) Implement ordering and filtering.
5) GET API should take params to return :
Ex. /abc.com?params=id|name|is_featured : this should return Array of JSON
object with specified keys, along with an authenticated key mentioning user
authentication status.

Thanks

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dfdb2b20-66a3-4e56-b548-45c0f59a48ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-27 Thread Aristeidis Almpanis
Good day,

Please be more careful when asking a question and provide more details. For
example include in your email all the python traceback info.

>From the error you described: "NameError: name 'template' is not defined"
it seems that you are referring to a "template" variable in your code that
is never set to a value (it is not defined).

You can also tell us more about which tutorial you are trying to do so we
can refer to the code - or include your code to the email.

AA

On Sun, May 27, 2018 at 10:33 AM, Umar Kambala 
wrote:

> Good day
> Plz I have a problem, on mysite I have the following
> mysite/personal/templates/personal but wen I runserver it gives me
> "NameError: name 'template' is not define.. Please can u help me locate the
> problem? Thank u
> On May 24, 2018 4:56 PM, "Melvyn Sopacua"  wrote:
>
>> On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote:
>> > It is located in mysite/polls/template/polls/
>>
>> It should be in mysite/polls/templates/polls/
>>
>> Note: templates with an s, not template.
>>
>> --
>> Melvyn Sopacua
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/61115682.T1ecY6nzIZ%40fritzbook.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAPkbFbYPHKRZ8QXtfLnXV%3D29AcTpeOOxucqGSfd5VAMa3fmfvA
> %40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD5ymB5FjqZ95gwn6Gv1%3DiKg4AaqF1bSAxM7Wh2Sd7Y9eqJj6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-27 Thread Umar Kambala
Good day
Plz I have a problem, on mysite I have the following
mysite/personal/templates/personal but wen I runserver it gives me
"NameError: name 'template' is not define.. Please can u help me locate the
problem? Thank u
On May 24, 2018 4:56 PM, "Melvyn Sopacua"  wrote:

> On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote:
> > It is located in mysite/polls/template/polls/
>
> It should be in mysite/polls/templates/polls/
>
> Note: templates with an s, not template.
>
> --
> Melvyn Sopacua
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/61115682.T1ecY6nzIZ%40fritzbook.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPkbFbYPHKRZ8QXtfLnXV%3D29AcTpeOOxucqGSfd5VAMa3fmfvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-24 Thread Umar Kambala
Thanks very much, will try it n get back to u
On May 24, 2018 4:56 PM, "Melvyn Sopacua"  wrote:

> On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote:
> > It is located in mysite/polls/template/polls/
>
> It should be in mysite/polls/templates/polls/
>
> Note: templates with an s, not template.
>
> --
> Melvyn Sopacua
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/61115682.T1ecY6nzIZ%40fritzbook.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPkbFbYd%2BMAkTa1br28P829FbjWEY-hooSrTafdWnFjzV-gZdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-24 Thread Melvyn Sopacua
On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote:
> It is located in mysite/polls/template/polls/

It should be in mysite/polls/templates/polls/

Note: templates with an s, not template.

-- 
Melvyn Sopacua

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/61115682.T1ecY6nzIZ%40fritzbook.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-24 Thread Umar Kambala
It is located in mysite/polls/template/polls/
On May 24, 2018 2:41 PM, "Gerardo Palazuelos" 
wrote:

Hi
Your problem is this (quiten in last part of the error stack):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\
lib\site-packages\django\template\loader.py", line 47, in select_template
raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: polls/index.html,
polls/question_list.html


You have an issue with your templates and where are they located.

Regards,

--
Gerardo Palazuelos Guerrero


> El 24/05/2018, a las 8:32 a.m., Umar Kambala 
escribió:
>
> File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\
lib\site-packages\django\template\loader.py", line 47, in select_template
> raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
> django.template.exceptions.TemplateDoesNotExist: polls/index.html,
polls/question_list.html

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/
msgid/django-users/7002A588-CF73-4FC9-B385-54BB5762F112%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPkbFbbvRnQ94GDk-j4kLQUWUKn_osN6Mm%2ByJzfuRnQCeTGg9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: help me out

2018-05-24 Thread Gerardo Palazuelos
Hi
Your problem is this (quiten in last part of the error stack):
File 
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader.py",
 line 47, in select_template
raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: polls/index.html, 
polls/question_list.html


You have an issue with your templates and where are they located.

Regards,

--
Gerardo Palazuelos Guerrero


> El 24/05/2018, a las 8:32 a.m., Umar Kambala  escribió:
> 
> File 
> "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader.py",
>  line 47, in select_template
> raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
> django.template.exceptions.TemplateDoesNotExist: polls/index.html, 
> polls/question_list.html

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7002A588-CF73-4FC9-B385-54BB5762F112%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


help me out

2018-05-24 Thread Umar Kambala
 please help me, this is the error mgs am been getting whenever i run my
manage.py runserver

Not Found: /
[24/May/2018 14:16:40] "GET / HTTP/1.1" 404 2027
Internal Server Error: /polls/
Traceback (most recent call last):
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py",
line 35, in inner
response = get_response(request)
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
line 158, in _get_response
response = self.process_exception_by_middleware(e, request)
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
line 156, in _get_response
response = response.render()
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py",
line 106, in render
self.content = self.rendered_content
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py",
line 81, in rendered_content
template = self.resolve_template(self.template_name)
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py",
line 63, in resolve_template
return select_template(template, using=self.using)
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader.py",
line 47, in select_template
raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: polls/index.html,
polls/question_list.html
[24/May/2018 14:16:52] "GET /polls/ HTTP/1.1" 500 79698
Not Found: /favicon.ico
[24/May/2018 14:17:54] "GET /favicon.ico HTTP/1.1" 404 2078

i dont know were the problem is

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPkbFbbrc3YyKU9Q4eF14ssjwu4XBhrnWx__TpUCRgRd5O%2B9%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-20 Thread Gerald Klein
 'NAME': 'mysite'), the paran doesn't belong there


On Sat, Apr 19, 2014 at 10:11 AM, Toan ComS  wrote:

>
>
>
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'django.db.backends.sqlite3',
>> 'NAME': 'mysite'),
>> }
>> }
>>
>
> Is it wrong?
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/fb92204d-f2a7-4e40-87b8-e85c13a9bbaf%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Gerald Klein DBA

contac...@geraldklein.com

www.geraldklein.com 

geraldklein.wordpress.com

j...@zognet.com

708-599-0352


Arch Awesome, Ranger & Vim the coding triple threat.

Linux registered user #548580

Brought to you by the Amish Mafia

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP8NtCx8hNvjhxqx0G4fM8emXBjk%2BOrWhY7kbou_M1Pkswq71w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Mike Dewhirst

On 20/04/2014 1:11 AM, Toan ComS wrote:





 DATABASES = {
  'default': {
  'ENGINE': 'django.db.backends.sqlite3',
  #'NAME': 'mysite'),
  'NAME': 'mysite',
  }
 }



Is it wrong?


I think so. Try removing the parens afte 'mysite'



--
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 django-users@googlegroups.com
.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/fb92204d-f2a7-4e40-87b8-e85c13a9bbaf%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


--
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/535336A0.1030501%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread voger
If there is a space in front of DATABASES then yes it is wrong. Python 
doesn't forgive lousy indentation


On 04/19/2014 06:11 PM, Toan ComS wrote:




DATABASES = {
 'default': {
 'ENGINE': 'django.db.backends.sqlite3',
 'NAME': 'mysite'),
 }
}


Is it wrong?

--
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 django-users@googlegroups.com
.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/fb92204d-f2a7-4e40-87b8-e85c13a9bbaf%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


--
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5352954A.3010808%40yahoo.gr.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Toan ComS



> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3',
> 'NAME': 'mysite'),
> }
> }
>

Is it wrong?  

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fb92204d-f2a7-4e40-87b8-e85c13a9bbaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread voger
There it says "unexpected indent" and points to the DATABASES in your 
settings.py. Check to see if it is indented properly.


On 04/19/2014 05:02 PM, Toan ComS wrote:




--
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 django-users@googlegroups.com
.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/e0144498-2204-47bf-b3d1-da229dc7f8ed%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


--
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/53528BC6.5080107%40yahoo.gr.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Andrew Farrell
This looks like you have an index error in your settings.py file. Probably
an extra space at the start of line 58.

If you run python settings.py, you probably get the same error.


On Sat, Apr 19, 2014 at 10:02 AM, Toan ComS  wrote:

> 
>
>  --
> 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 django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e0144498-2204-47bf-b3d1-da229dc7f8ed%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2By5TLbdF%3DUK6wswnrbLEco6wzxZmhvKmg9piNXg1vDzJ3ck-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Toan ComS




-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e0144498-2204-47bf-b3d1-da229dc7f8ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


HELP ME OUT OF THIS!

2007-06-03 Thread ikgajeaccountvernakken

hi all,

Im new here can you please click on the following link so i can get
some points??? It would be helpfull :http://s1.metaldamage.nl/c.php?
uid=112331

sorry for my bad english...i'm working on it.

greetzz


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: my problem from HELL: Pleas help me out on this

2007-02-22 Thread enquest

Op donderdag 22-02-2007 om 09:45 uur [tijdzone +0100], schreef enquest:
> Op woensdag 21-02-2007 om 19:47 uur [tijdzone -0600], schreef James
> Bennett:
> > On 2/21/07, enquest <[EMAIL PROTECTED]> wrote:
> > > It seems as soon I import "from bar.models import Test" do then this
> > > class will not show up in the the ADMIN. I restarted apache 100 time,
> > > changed the code 100 times to figure out. Tryied everthing. But as soon
> > > as I do an "import Test" for example the admin wont show it!!!
> > 
> > Are these models in different apps? In two files in the same app?
> > 
> > If they're in different apps, are both of those in the INSTALLED_APPS
> > setting, and are you certain the DB tables have been created for them?
> > 
> 
> Yes they are in Installed apps and yes they are both in de Mysql DB...
> they work on my development server but not on the apache server... I'm
> using Apache2 mysql 4.1 and debian stable
> 
> 
> > 

Are there any known problems with Debian sarge Django/mysql4.1 that
could cause this kind of behavior...

My gues is that the problem is in with debian setup!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: my problem from HELL: Pleas help me out on this

2007-02-22 Thread Malcolm Tredinnick

On Thu, 2007-02-22 at 01:38 +0100, enquest wrote:
> I have two models for testing purpose... I realy need to solve this
> problem. If not I will have to stop using Django what would be a pitty.
> But I can't spend an other day searching This problem occurs on a
> Debian apache2 server (fresh install)
> 
> model 1
> from django.db import models
> from bar.models import Test

Try changing this to

from bar import models as bar_models

and later on (in the model)

bar = models.ForeignKey(bar_models.Test)

I'm not guaranteeing that will fix anything, but there is one very
tricky import-related bug in the way we work out relations between
models (and cache the models). It is being worked on (by me), but hasn't
been fixed yet.

If you care about the details, the reason this might work is that by
changing the import in this way, you are not forcing Python to look
inside the bar.models module to resolve the Test name at import time.
Instead, you are just ensuring that bar.models is in the current
namespace (you have to import as something other than "models", since
you have already imported django.db.models under that name). This leaves
the name lookup (bar_models.Test, in my example) until later in the
show, when all the imports and model loading has been completed.

It would be interesting to know if this does fix things for you, because
it is another data point in chasing this bug. Unfortuantely, the bug is
very dependent on the Python version, architecture and OS that it is
installed on, so just because it fails for you on one particular setup,
doesn't mean it will fail for you in another case (or for anybody else
with a similar setup). So realise that I cannot tell you for certain
that this fix will do anything at all -- but it looks similar to some
other reports.

Regards,
Malcolm


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: my problem from HELL: Pleas help me out on this

2007-02-22 Thread Kenneth Gonsalves


On 22-Feb-07, at 6:08 AM, enquest wrote:

> bar = models.ForeignKey(Test)

bar = models.ForeignKey('Test')



-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: my problem from HELL: Pleas help me out on this

2007-02-22 Thread enquest

Op woensdag 21-02-2007 om 19:47 uur [tijdzone -0600], schreef James
Bennett:
> On 2/21/07, enquest <[EMAIL PROTECTED]> wrote:
> > It seems as soon I import "from bar.models import Test" do then this
> > class will not show up in the the ADMIN. I restarted apache 100 time,
> > changed the code 100 times to figure out. Tryied everthing. But as soon
> > as I do an "import Test" for example the admin wont show it!!!
> 
> Are these models in different apps? In two files in the same app?
> 
> If they're in different apps, are both of those in the INSTALLED_APPS
> setting, and are you certain the DB tables have been created for them?
> 

Yes they are in Installed apps and yes they are both in de Mysql DB...
they work on my development server but not on the apache server... I'm
using Apache2 mysql 4.1 and debian stable


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: my problem from HELL: Pleas help me out on this

2007-02-21 Thread James Bennett

On 2/21/07, enquest <[EMAIL PROTECTED]> wrote:
> It seems as soon I import "from bar.models import Test" do then this
> class will not show up in the the ADMIN. I restarted apache 100 time,
> changed the code 100 times to figure out. Tryied everthing. But as soon
> as I do an "import Test" for example the admin wont show it!!!

Are these models in different apps? In two files in the same app?

If they're in different apps, are both of those in the INSTALLED_APPS
setting, and are you certain the DB tables have been created for them?

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



my problem from HELL: Pleas help me out on this

2007-02-21 Thread enquest

I have two models for testing purpose... I realy need to solve this
problem. If not I will have to stop using Django what would be a pitty.
But I can't spend an other day searching This problem occurs on a
Debian apache2 server (fresh install)

model 1
from django.db import models
from bar.models import Test
# Create your models here.

class Foo(models.Model):
test = models.CharField(maxlength=40)
what = models.CharField(maxlength=10)
bar = models.ForeignKey(Test)
def __str__(self):
return self.test
class Admin:
pass

model 2
from django.db import models
# Create your models here.

class Test(models.Model):
foos = models.CharField(maxlength=40)
bars = models.CharField(maxlength=10)
def __str__(self):
return self.foos
class Admin:
pass


It seems as soon I import "from bar.models import Test" do then this
class will not show up in the the ADMIN. I restarted apache 100 time,
changed the code 100 times to figure out. Tryied everthing. But as soon
as I do an "import Test" for example the admin wont show it!!!

On the IRC channel they can't help. So my last hope is this mailing
list... Maybe somebody here can help me





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---