Re: hey there! i really want to have a friend here

2021-05-24 Thread Sharif Mehedi
The nature of you website, how is it running, where is it running etc   On 
Monday, May 24, 2021, 7:50:15 PM GMT+6, Hassan Adamu  
wrote:  
 
 
OK thanks. What are the details you need?
On 24 May 2021 2:31 pm, "Sharif Mehedi"  wrote:

You should probably contact your "cloud service" (or what other ever service it 
is) provider.
I will try to help you if you'd provide some more details of your problem.

Regards,Sharif
   On Monday, May 24, 2021, 7:23:16 PM GMT+6, Hassan Adamu 
 wrote:  
 
 good day dear friends.i have created a website just a few month a go. but now 
i was unable to access the website. please my friends can any body help me out?



-- 
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+unsubscribe@ googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ 
msgid/django-users/fe324813- cc72-4146-8976-f0647da8a0c2n% 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+unsubscribe@ googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ 
msgid/django-users/13324. 1039510.162186258%40mail. yahoo.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/CA%2BWHeE6SneerKXR0-h4ovOCjA6VF73kf6hMAmzsf%3D7SP-ahR_Q%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/736789683.1052963.1621864643378%40mail.yahoo.com.


Re: hey there! i really want to have a friend here

2021-05-24 Thread Hassan Adamu
OK thanks. What are the details you need?
On 24 May 2021 2:31 pm, "Sharif Mehedi"  wrote:

> You should probably contact your "cloud service" (or what other ever
> service it is) provider.
> I will try to help you if you'd provide some more details of your problem.
>
>
> Regards,
> Sharif
> On Monday, May 24, 2021, 7:23:16 PM GMT+6, Hassan Adamu <
> kindnesscom...@gmail.com> wrote:
>
>
> good day dear friends.
> i have created a website just a few month a go. but now i was unable to
> access the website. please my friends can any body help me out?
>
>
> --
> 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/fe324813-cc72-4146-8976-f0647da8a0c2n%
> 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/13324.1039510.162186258%40mail.yahoo.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/CA%2BWHeE6SneerKXR0-h4ovOCjA6VF73kf6hMAmzsf%3D7SP-ahR_Q%40mail.gmail.com.


Re: hey there! i really want to have a friend here

2021-05-24 Thread Sharif Mehedi
You should probably contact your "cloud service" (or what other ever service it 
is) provider.
I will try to help you if you'd provide some more details of your problem.

Regards,Sharif
   On Monday, May 24, 2021, 7:23:16 PM GMT+6, Hassan Adamu 
 wrote:  
 
 good day dear friends.i have created a website just a few month a go. but now 
i was unable to access the website. please my friends can any body help me out?



-- 
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/fe324813-cc72-4146-8976-f0647da8a0c2n%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/13324.1039510.162186258%40mail.yahoo.com.


Re: hey there! i really want to have a friend here

2021-05-24 Thread Yonatan Girma
You can create a new super user

On Mon, May 24, 2021 at 6:23 AM Hassan Adamu 
wrote:

> good day dear friends.
> i have created a website just a few month a go. but now i was unable to
> access the website. please my friends can any body help me out?
>
>
> --
> 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/fe324813-cc72-4146-8976-f0647da8a0c2n%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/CAAbCZeDAeh30pF3Yd%3D5%3DVoeXCd3_kwY2AmxshTp36Q%3DZ_XkKTg%40mail.gmail.com.


hey there! i really want to have a friend here

2021-05-24 Thread Hassan Adamu
good day dear friends.
i have created a website just a few month a go. but now i was unable to 
access the website. please my friends can any body help me out?


-- 
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/fe324813-cc72-4146-8976-f0647da8a0c2n%40googlegroups.com.


Hey django developers, I got small issue that is hoow to specify the template_root but my loader is already specify the temppath" django.template.loaders.filesystem.Loader: C:\Users\Admin\projects\tel

2020-05-03 Thread yashwanth balanagu
from django.shortcuts import render,redirect
from .models import upload
import zipfile as ZipFile
import os, tempfile
from django.forms import modelformset_factory
from .forms import uploadForm
from rest_framework.views import APIView
from .serializers import *
from rest_framework.response import Response 
from rest_framework import viewsets
from rest_framework import status
import zipfile
from django.views import View 
from .import serializers
from file.models import upload
from .serializers import uploadSerializers
import os 
from zipfile import ZIP_DEFLATED
from django_zipfile import TemplateZipFile
from django.shortcuts import get_list_or_404, get_object_or_404
from django.http import HttpResponse
os.chdir("C:/Users/Admin/Desktop")



def home(request):
if request.method=="POST":
user=request.POST['user'];
image=request.FILES['image'];
upload.objects.create(user=user,image=image)
files=upload.objects.all();
return redirect('foundation')
else:
return render(request,'file.html')

def foundation(request):
files=upload.objects.all();
return render(request,'foundation.html',{'files':files})

class download(APIView):

def get(self,request,id):
obj = get_object_or_404(upload, pk=id)
context = {
'object': obj
}
response = HttpResponse(content_type='application/octet-stream')
response['Content-Disposition'] = 'attachment; filename=myfile.zip'

container = TemplateZipFile(response, mode='w'
, compression=ZIP_DEFLATED, template_root= '' ) #How to specify temp root

container.write_template('file.html', context=context)
 
container.close()
return response


class datalist(APIView):
def get(self,request):
datas=upload.objects.all()
serializer = uploadSerializers(datas,many=True)
return Response(serializer.data)

def post(self,request):
serializer=uploadSerializers(data=request.data)
if serializer.is_valid():
serializer.save()
return Response(serializer.data)
return Response(serializer.errors)

def delete(self,request):
serializer=upload.objects.all()
serializer.delete()
return Response(status=status.HTTP_204_NO_CONTENT)


class datadetail(APIView):
def get(self,request,id):
model=upload.objects.get(id=id)
serializer=uploadSerializers(model)
return Response(serializer.data)

def delete(self,request,id):
serializer=upload.objects.get(id=id)
serializer.delete()
return Response(status=status.HTTP_204_NO_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/d5499549-4306-4356-88d3-16ca1899ff43%40googlegroups.com.


Hey Folks Quick conversion of images to PDF

2020-01-22 Thread Infinity Programmer
Hi Folks

Iam uploaded video for convert images to pdf using python script

please sunscribe and share 

https://youtu.be/8IQuhH50bqc
https://youtu.be/8IQuhH50bqc
https://youtu.be/8IQuhH50bqc

-- 
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/799f7fc4-435a-4cbd-a1fd-f72b77e2caab%40googlegroups.com.


Hey , happy new year guys .

2020-01-04 Thread Evil Kunt
Hi guys ,

Its evil ! Evil kunt . Sorry for the name .

Happy new year to all , its bit late , sorry was on a trip .

I have been with python since 2009 , been with django kinda 2016 .

I also used cherrypy but big fan of django .

I also use DRF , Falcon and HUG as rest ,SQLAlchemy orm .

I work basically in the field of ANN , AI . But as a old habitat of web
apps , i like to be back to it all the time.

Its a good community , i am also a member of PSF (Python software
Foundation)

I have a daughter whom i call 'PY' .
Its because i love python and every year i learn new language , like now i
am into RUST .

Hope to be active but couldn't promise as office work bit much now .

Kr,
Kunt.

-- 
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/CABCeVgxda-o7hbbtT3Sqomo5mh-%2BFunRyG4ZJhKKLS7_HGhR8A%40mail.gmail.com.


Re: hey.. are you there?

2016-08-24 Thread Lekan Wahab
Hi.

On 24 Aug 2016 9:13 PM, "concussion"  wrote:

> good morning.. :)
>
> --
> 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/4046833c-a3f1-4e50-a83e-b77b1710d38a%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/CAE6v7oeoQVvnzOhuPB%3DV%3D-pOVmjuZr4T_PO6TFQqA3nXwu222A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


hey.. are you there?

2016-08-24 Thread concussion
good morning.. :)

-- 
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/4046833c-a3f1-4e50-a83e-b77b1710d38a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hey guys can anyone let me know where I can get some of good Django base web apps

2016-03-21 Thread Luis Zárate
https://www.djangopackages.com/


El lunes, 21 de marzo de 2016, Tibin Geo k k 
escribió:
> I am looking for some good Django web applications,  if we have any site
to download some Django projects let me know
>
> --
> 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/f6f82ee9-653a-438f-920d-9e0c5572c627%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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/CAG%2B5VyPmFURYv%3D4MvJvdZzxqPuZT-EfckJA61srzmj%3Dva%3DmANQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Hey guys can anyone let me know where I can get some of good Django base web apps

2016-03-21 Thread Tibin Geo k k
I am looking for some good Django web applications,  if we have any site to 
download some Django projects let me know

-- 
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/f6f82ee9-653a-438f-920d-9e0c5572c627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hey! I'm recieving an index error when trying to import models, and I can't figure out why.

2013-04-01 Thread Bill Freeman
Stick a print statement between lines 91 and 92 to show you
model_module.__name__ .
(or use pdb if you're comfortable with it).  My best guess is that the
split() is returning a
list of one item.  That is, that there is no '.' in model_module.__name__
.  Thus an index
of -2 failss: there is no penultimate item.

At least for the time when it gets the exception.  That is, you may get
many lines printed,
but the last one before the exception won't have a '.'


On Mon, Apr 1, 2013 at 1:48 PM, C Alaric Moore wrote:

> I just tried this and still have the same error. I also might add that I'm
> using a mac with an updated os. I also hear that it could be an issue of
> line breaks, but can't find any /n's or /r's in any of the code anyway. I
> might just be looking in the wrong places, too.
>
>
> On Sunday, March 31, 2013 9:33:21 PM UTC-7, jondbaker wrote:
>
>> When importing Python modules, you don't need to include the '.py' file
>> extension. So,
>> from models.py import UUID
>> ...needs to be:
>> from models import UUID
>>
>> Hope this helps,
>> Jonathan
>>
>>
>> On Sun, Mar 31, 2013 at 10:27 PM, C Alaric Moore wrote:
>>
>>> Hello,
>>>
>>> I am incredibly new to Django, as-of-today new, so forgive me if I've
>>> missed something really obvious.
>>>
>>> I've been going through the tutorial and did so mostly-successfully and
>>> decided to redo it with my own code.
>>>
>>> Everything was going fine until I decided that it would be a good idea
>>> to type from models.py import UUID, Students into the shell. With this I
>>> received the following error:
>>>
>>> /Library/Frameworks/Python.**framework/Versions/7.3/lib/**
>>> python2.7/site-packages/**django/db/models/base.pyc in __new__(cls,
>>> name, bases, attrs)
>>>  90 # For 'django.contrib.sites.models', this would be
>>> 'sites'.
>>>
>>>  91 model_module = sys.modules[new_class.__**module__]
>>> ---> 92 kwargs = {"app_label": model_module.__name__.split('.
>>> **')[-2]}
>>>  93 else:
>>>  94 kwargs = {}
>>>
>>> IndexError: list index out of range
>>>
>>> I went onto stackoverflow and found some people had similar issues a
>>> year ago, and suggested that a person delete the pyc files, which I did. It
>>> was also suggested that you make DEBUGGING = False, or True or whatever is
>>> opposite. I did this, too, only to find the same error.
>>>
>>> I did some other things too, all to no avail... all the same error. I
>>> even checked to make sure I was saving edited files, TWICE. Still, same
>>> error.
>>>
>>> With this, I ask for your help o' wise ones.
>>>
>>> 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...@**googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/django-users?hl=en
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> Jonathan D. Baker
>> Developer
>> http://jonathandbaker.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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Hey! I'm recieving an index error when trying to import models, and I can't figure out why.

2013-04-01 Thread C Alaric Moore
I just tried this and still have the same error. I also might add that I'm 
using a mac with an updated os. I also hear that it could be an issue of 
line breaks, but can't find any /n's or /r's in any of the code anyway. I 
might just be looking in the wrong places, too. 

On Sunday, March 31, 2013 9:33:21 PM UTC-7, jondbaker wrote:
>
> When importing Python modules, you don't need to include the '.py' file 
> extension. So,
> from models.py import UUID
> ...needs to be:
> from models import UUID
>
> Hope this helps,
> Jonathan
>
>
> On Sun, Mar 31, 2013 at 10:27 PM, C Alaric Moore 
>  > wrote:
>
>> Hello, 
>>
>> I am incredibly new to Django, as-of-today new, so forgive me if I've 
>> missed something really obvious. 
>>
>> I've been going through the tutorial and did so mostly-successfully and 
>> decided to redo it with my own code. 
>>
>> Everything was going fine until I decided that it would be a good idea to 
>> type from models.py import UUID, Students into the shell. With this I 
>> received the following error: 
>>
>> /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/django/db/models/base.pyc
>>  
>> in __new__(cls, name, bases, attrs)
>>  90 # For 'django.contrib.sites.models', this would be 
>> 'sites'.
>>
>>  91 model_module = sys.modules[new_class.__module__]
>> ---> 92 kwargs = {"app_label": 
>> model_module.__name__.split('.')[-2]}
>>  93 else:
>>  94 kwargs = {}
>>
>> IndexError: list index out of range
>>
>> I went onto stackoverflow and found some people had similar issues a year 
>> ago, and suggested that a person delete the pyc files, which I did. It was 
>> also suggested that you make DEBUGGING = False, or True or whatever is 
>> opposite. I did this, too, only to find the same error. 
>>
>> I did some other things too, all to no avail... all the same error. I 
>> even checked to make sure I was saving edited files, TWICE. Still, same 
>> error. 
>>
>> With this, I ask for your help o' wise ones. 
>>
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Jonathan D. Baker
> Developer
> http://jonathandbaker.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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Hey! I'm recieving an index error when trying to import models, and I can't figure out why.

2013-03-31 Thread Jonathan Baker
When importing Python modules, you don't need to include the '.py' file
extension. So,
from models.py import UUID
...needs to be:
from models import UUID

Hope this helps,
Jonathan


On Sun, Mar 31, 2013 at 10:27 PM, C Alaric Moore wrote:

> Hello,
>
> I am incredibly new to Django, as-of-today new, so forgive me if I've
> missed something really obvious.
>
> I've been going through the tutorial and did so mostly-successfully and
> decided to redo it with my own code.
>
> Everything was going fine until I decided that it would be a good idea to
> type from models.py import UUID, Students into the shell. With this I
> received the following error:
>
> /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/django/db/models/base.pyc
> in __new__(cls, name, bases, attrs)
>  90 # For 'django.contrib.sites.models', this would be
> 'sites'.
>
>  91 model_module = sys.modules[new_class.__module__]
> ---> 92 kwargs = {"app_label":
> model_module.__name__.split('.')[-2]}
>  93 else:
>  94 kwargs = {}
>
> IndexError: list index out of range
>
> I went onto stackoverflow and found some people had similar issues a year
> ago, and suggested that a person delete the pyc files, which I did. It was
> also suggested that you make DEBUGGING = False, or True or whatever is
> opposite. I did this, too, only to find the same error.
>
> I did some other things too, all to no avail... all the same error. I even
> checked to make sure I was saving edited files, TWICE. Still, same error.
>
> With this, I ask for your help o' wise ones.
>
> 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 http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Jonathan D. Baker
Developer
http://jonathandbaker.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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Hey! I'm recieving an index error when trying to import models, and I can't figure out why.

2013-03-31 Thread C Alaric Moore
Hello, 

I am incredibly new to Django, as-of-today new, so forgive me if I've 
missed something really obvious. 

I've been going through the tutorial and did so mostly-successfully and 
decided to redo it with my own code. 

Everything was going fine until I decided that it would be a good idea to 
type from models.py import UUID, Students into the shell. With this I 
received the following error: 

/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/django/db/models/base.pyc
 
in __new__(cls, name, bases, attrs)
 90 # For 'django.contrib.sites.models', this would be 
'sites'.

 91 model_module = sys.modules[new_class.__module__]
---> 92 kwargs = {"app_label": 
model_module.__name__.split('.')[-2]}
 93 else:
 94 kwargs = {}

IndexError: list index out of range

I went onto stackoverflow and found some people had similar issues a year 
ago, and suggested that a person delete the pyc files, which I did. It was 
also suggested that you make DEBUGGING = False, or True or whatever is 
opposite. I did this, too, only to find the same error. 

I did some other things too, all to no avail... all the same error. I even 
checked to make sure I was saving edited files, TWICE. Still, same error. 

With this, I ask for your help o' wise ones. 

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 http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Hey

2012-06-26 Thread kenneth gonsalves
On Mon, 2012-06-25 at 05:01 -0700, bruno desthuilliers wrote:
> > How can I extract data from DB so that I can take that data n send
> it to 
> > templates to display graphs according to DataBase values .
> > How can I write view function for that?
> >
> 
> 
> Everything you need to know is here : https://docs.djangoproject.com 

do they mention how to put a meaningful subject line ;-)
-- 
regards
Kenneth Gonsalves

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Hey

2012-06-25 Thread bruno desthuilliers
On Monday, June 25, 2012 8:05:13 AM UTC+2, Pervez Mulla wrote:
>
> HI,
>
> How can I extract data from DB so that I can take that data n send it to 
> templates to display graphs according to DataBase values .
> How can I write view function for that?
>


Everything you need to know is here : https://docs.djangoproject.com


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/KZxMgro5DnkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Hey

2012-06-25 Thread Pervez Mulla
HI,

How can I extract data from DB so that I can take that data n send it to
templates to display graphs according to DataBase values .
How can I write view function for that?


Thank You
Pervez

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Hey can any one help me.

2009-12-15 Thread Javier Guerra
'chiru'tha wrote:
> Hey i created a django project on linux read hat, and started the
> server.. now i want to access the server from the windows browser. bt
> it displays the diagnostic error, cont be able to connect to the
> server. can any one help me what the actual problem is..
>  thank u.

by default the development server listens only on 127.0.0.1, that's the 
local-only interface.

use "manage.py 0.0.0.0 80" to make it listen on all interfaces

-- 
Javier

--

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




Re: Hey can any one help me.

2009-12-14 Thread rhce.san
Hope you are asccessing via browser...

Few questions needs to be answered here :

- Is firewall enabled and you are blocked for the port you are tying
to access ?
- are you able to ping from the windows mahcine to the linux machine ?



On Dec 15, 12:13 pm, "'chiru'tha" <chiru.bt...@gmail.com> wrote:
> Hey i created a django project on linux read hat, and started the
> server.. now i want to access the server from the windows browser. bt
> it displays the diagnostic error, cont be able to connect to the
> server. can any one help me what the actual problem is..
>  thank u.

--

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




Hey can any one help me.

2009-12-14 Thread 'chiru'tha
Hey i created a django project on linux read hat, and started the
server.. now i want to access the server from the windows browser. bt
it displays the diagnostic error, cont be able to connect to the
server. can any one help me what the actual problem is..
 thank u.

--

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




Hey Django-users@googlegroups.com ;)

2008-01-27 Thread Arko Basu




http://www.hi5.com/register/1OHMD?inviteId=B_b2cd5c2_OBb.FZSmoPd

arko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Hey Django-users@googlegroups.com ;)

2007-11-05 Thread Jose Rodriguez Bacallao




http://www.hi5.com/register/IK2di?inviteId=A_9eb8baf_akOdwZp3end166431663

Jose

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Hey Django-users@googlegroups.com ;)

2007-11-05 Thread Jose Rodriguez Bacallao




http://www.hi5.com/register/QClCa?inviteId=A_9eb8baf_foMCO2p5ZKd166431663

Jose

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Hey ! GOOGLE friends-upcoming site for you-Amazing features

2007-02-24 Thread smita

Hey ! GOOGLE friends-upcoming site for you-Amazing features
One place site for everything-entertainment-career-earning-videos-
chating-msgs-all
Find A good site At 1 place Like Orkut & Youtube  - with many More
Features here You make career Beautiful..!!
Friends-Videos-Chit Chat -Campus-Earnings-Girl Stuff and more Stuff

signup with below link
http://www.6URL.com/15EL


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---