plz tell me why this error is coming here... after setting urls.py. plz
help me..
ViewDoesNotExist at /admin/
Could not import foo.views.index. View does not exist in module foo.views.
Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.3Exception Type:ViewDoesNotExi
Here i want to explore database API but it's generating error..
C:\mysite>python manage.py shell
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from polls.mo
thanks. i m adding my polls file...
On Wed, Feb 6, 2013 at 2:20 PM, Sergiy Khohlov wrote:
> 1) please provide your model Poll
> 2) are you run syncdb ?
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> 2013/2/6 Avnesh Shakya :
> &g
thanks.. i have added my polls.models file
On Wed, Feb 6, 2013 at 2:20 PM, Sergiy Khohlov wrote:
> 1) please provide your model Poll
> 2) are you run syncdb ?
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> 2013/2/6 Avnesh Shakya :
>
ams)
DatabaseError: no such column: polls_poll.pub_date
>>>
On Wed, Feb 6, 2013 at 2:49 PM, Jani Tiainen wrote:
> Now look your Poll model and try to find field "pub_date" there...
>
> :)
>
> 6.2.2013 11:03, Avnesh Shakya kirjoitti:
>
>> thanks.. i
I have checked many time, even i have deleted my project n i have created
new project again and create new model but error is occurred again n
again.. i m beginner so plz help me
C:\mysite>python manage.py shell
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
on w
ya i have executed python manage.py syncdb...but still it's giving
error...
On Wed, Feb 6, 2013 at 7:01 PM, Thomas Weholt wrote:
> Have you executed python manage.py syncdb?
>
> Thomas
>
> On Wed, Feb 6, 2013 at 2:22 PM, Avnesh Shakya
> wrote:
> >
> &g
please help me,i m beginner i m creating my registration model but how can
i write password field?
thanks in advance...
--
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 a
i have created my Userinfo model for registration, but password is showing
means it's not filling in hidden form so what will i have to do for it...
please help me
class Userinfo(models.Model):
full_name=models.CharField(max_length=30)
username=models.CharField(max_length=20)
email_address=
Khohlov wrote:
> Take a look at the examples
> https://docs.djangoproject.com/en/dev/topics/auth/default/
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Fri, Feb 15, 2013 at 7:23 AM, Avnesh Shakya wrote:
>
>> please help me,i m
NoReverseMatch at /
*Reverse for 'myapp_about' with arguments '()' and keyword arguments '{}' not
found.
i m adding here files, plz help me..
thanks in advance
*
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this g
Hello, I'm stuck in teplagte page. error is occuring here after
runserver..error.. NoReverseMatch at / Reverse for '' with arguments '()'
and keyword arguments '{}' not found.
I can't figure out why I'm getting the error, plz tell me, i h
, Thomas Weholt wrote:
> It means you haven't added any url matching / in your urlconfig, but
> it's hard to give a good answer without a bit more information. Have
> you completed the django tutorial which explains how these things
> work?
>
> Thomas
>
> On Tue, Feb 1
On Tue, Feb 19, 2013 at 3:47 PM, Avnesh Shakya wrote:
> ya i have completed and i m just doing copy n paste from from tutorial but
> there is no error but i m facing this error again n again...
> https://www.udemy.com/full-django-tutorial/#lecture/63701/question/9902
> can i add my p
thanks
On Tue, Feb 19, 2013 at 4:28 PM, Pankaj Singh wrote:
> Hey Avnesh,
>
> In your templates you have written following lines
>
> homeabout href="{% url archive %}">archivecontact
>
> Change them to following, notice single quotes surrounding url pattern name
>
>
> On Tue, Feb 19, 2013 at 4:56 PM, Avnesh Shakya wrote:
>
>> hi pankaj, i have got again error same..
>> if i change
>>
>> from django.conf.urls.defaults import *
>> urlpatterns= patterns('myapp.views',
>> url(r'^$','
;template": "about.html"},
> name="about"),
> url(r'^contact/$', direct_to_template, {"template":
> "contact.html"},
> name="contact"),
> url(r'^archive/$', direct_to_template, {"te
hi, if you have any mini project on django, plz share, i m beginner it can
be helpful for me... plz share if u have..
thanks alot
On Tue, Feb 19, 2013 at 5:58 PM, Avnesh Shakya wrote:
> hi, i m adding my views.py file
>
>
>
> On Tue, Feb 19, 2013 at 5:44 PM, Pankaj Singh
plz help me... i want to store image in database using model,how is it
possible...?
--
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...@
thanks alot plz share any small project for beginners, if u have
On Wed, Feb 20, 2013 at 6:02 PM, Tom Evans wrote:
> On Wed, Feb 20, 2013 at 12:26 PM, Avnesh Shakya
> wrote:
> > plz help me... i want to store image in database using model,how is it
> > possible
i have created a model for image and added in admin. It's uploading images
fine but when i m trying to display it's generating error this
Using the URLconf defined in chh.urls, Django tried these URL patterns, in
this order:
1. ^admin/
The current URL, photos/photos/DSCN0811.JPG, didn'
thanks all i have got my error... i was not creating a folder in photos
that's why it generates error and url problem i have set it and now it's
work fine
thanks
On Thu, Feb 21, 2013 at 11:01 AM, Avnesh Shakya wrote:
> i have created a model for image and added in admin. I
hi i have one problem, i want to display data from database on html page
all data is displaying but one attribute(university name) which i defined
as models.ManyToManyField(University) is not being displyed, it's not
generating error but it showing msz on html page-
instead of showing universi
thanks i got it
thanks
On Thu, Feb 28, 2013 at 7:19 PM, Roberto López López
wrote:
>
> If you just output a m2m field that's normal. If you rather prefer to
> iterate over it and show all the related objects, use a for loop...
>
>
> On 02/28/2013 02:43 PM, Avnesh Shak
hi, i have got one error during adding data in database though admin page,
actually it was working fine, but i made some attributes optional, now it's
generating error..
i m adding m models.py ,plz help me..
thanks in advance
--
You received this message because you are subscribed to the Google
hi,
i have got one error during adding data in database though admin page,
actually it was working fine, but i made some attributes optional, now it's
generating error..
i m adding m models.py ,
error--
" needs to have a value for field "course" before
this many-to-many relationship can
ya i m adding now please help me
On Fri, Mar 1, 2013 at 8:43 PM, C. Kirby wrote:
> It would be helpful to see the model definition(s) and the admin.py if you
> wrote one
>
> On Friday, March 1, 2013 1:06:34 AM UTC-6, Avnesh Shakya wrote:
>>
>> hi,
>> i have go
hi i have got error- IntegrityError at /register/
lrntkr_student.contact_no may not be NULL
,when i was trying to input data through html page(register.html), but data
is not updating in database and generating that error. please help me i m
unable to find this error.
thanks
--
You received th
thanks i got it
regards,
Avnesh shakya
On Thu, Mar 7, 2013 at 10:09 AM, Avnesh Shakya wrote:
> hi i have got error- IntegrityError at /register/
>
> lrntkr_student.contact_no may not be NULL
>
> ,when i was trying to input data through html page(register.html), but
> data
I am using an anchor tag and have to access its content in python. I have
to access the 'text' from this.
in html page--
{% for c in courses%}
{{c.title}}{{c.stream}}
i want to get {{c.stream}} value so that i can use it in views.py i want to
filter the content acoording to it, and want to disp
UTC, Avnesh Shakya wrote:
>
>> I am using an anchor tag and have to access its content in python. I have
>> to access the 'text' from this.
>>
>> in html page--
>>
>> {% for c in courses%}
>>
>> {{c.title}}**> href="cd.html"
)
ctx = {'courses':courses}
return render_to_response('homepage/index.html', ctx)
thanks
regards,
avnesh shakya
On Fri, Mar 8, 2013 at 3:40 PM, Avnesh Shakya wrote:
> Actually, i have lot of different-2 stream, now i want to make it as link,
> so that i can click on
hi,
i have stored data in database,but it has large data,so it's showing
only 20-25 rows of data on html page. I want to show all data using
scrolling. how is it possible?
Please help me
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" g
2013 12:41:05 AM UTC-4, Avnesh Shakya wrote:
>>
>> hi,
>> i have stored data in database,but it has large data,so it's showing
>> only 20-25 rows of data on html page. I want to show all data using
>> scrolling. how is it possible?
>> Please help me...
i m trying to install django-facebook but it's showing error, i unable to
catch it please help me.
error -
C:\django-facebook-5.0.2prealpha>python setup.py install
No handlers could be found for logger "django_facebook"
Traceback (most recent call last):
File "setup.py", line 11, in
from
hi,
I m trying to login on my site through my own site, so i have
installed django-facebook, i have set setting in setting.py. Now i m trying
to run server but it's showing error.
plz help me.. i m unable to find out..
Thanks
--
You received this message because you are subscribed to the
I have set facebook button for login through facebook on my site, but when
i m clicking on that button, it's showing this error, i m unable to
find,pleaze help me...
I m using 127.0.0.1:8000 as domain name.
Error
An error occurred. Please try again later.
API Error Code: 191
API Error Descriptio
only course
performance data
please help me... i m unable to find out solution of this problem
thanks in advance..
regards,
Avnesh shakya
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
Hi,i m facing problem in mysql line, plz help me,i m unable to get
solution...
import MySQLdb
import urllib
import json
from bs4 import BeautifulSoup
tdd=json.loads(urllib.urlopen('https://www.coursera.org/maestro/api/topic/list2').read())
tsl=tdd['unis']
try:
conn=MySQLdb.connect(host=
hi,
please tell me,what is issue with me, I am using virtualenv in ubuntu, i
am fine in window,but here it's not showing admin pages,
I have installed apache2 and wsgi, i want to run my project through my
own apache2.but its not showing
my pages-
/var/www/mydomain.com/index.py
import os
hi,
I was using django 1.4 version in window 7. now i am using django 1.5
version using virtualenv in ubuntu. now i am running my old project it's
generating error.
error is -
NoReverseMatch at /
'url' requires a non-empty first argument. The syntax changed in Django 1.5,
see the docs.
.html" %}
Thanks to all
On Mon, Apr 1, 2013 at 1:58 PM, Avnesh Shakya wrote:
> hi,
> I was using django 1.4 version in window 7. now i am using django 1.5
> version using virtualenv in ubuntu. now i am running my old project it's
> generating error.
>
> error is -
try it..
create one more folder media and put that media folder inside this new
folder
and then run..
regards,
Avnesh Shakya
On Sat, Apr 6, 2013 at 4:11 PM, Fatih Tiryakioglu wrote:
> I want to render an image via a template, but the template can't show
> image, but only a small i
This error is occur when you're saving the member, not the user. When
creating the member, you are not assigning the user.
On Wed, Apr 17, 2013 at 10:45 AM, sachin wrote:
> I m still stuck with
>
> Exception Type: IntegrityError
> Exception Value: column user_id is not unique
>
> Whenev
hi,
please tell me someone, I want to fetch data dynamically using jquery
from database.. how it is possible, give me a example... please help me, i
need it in my project.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To un
hi,
I am creating a function inside the views.py, I want to call this
function automatically according to timing which i m using through
apscheduler. how is it possible, please tell me.
my views.py file
# Create your views here.
import simplejson as json
from apps.learning.models imp
hi,
css and js file in not working in my project, please tell me about it,
I am unable to get problem.
my project is learnt.
learnt > apps > lrntkr(my app) > models.py and views.py.
learnt > learnt > settings.py and urls.py and wsgi.py.
learnt > static > javascripts and stylesheet and other
hi, please tell me. it's urgent.
On Thursday, May 2, 2013 7:01:33 PM UTC+5:30, Avnesh Shakya wrote:
>
>
> hi,
> I am creating a function inside the views.py, I want to call this
> function automatically according to timing which i m using through
> apscheduler. how
thanks but if i want to get a function called autometically, when i run
127.0.0.1:8000/ which defined inside views.py. how is it possible.
On Fri, May 3, 2013 at 4:00 PM, Tom Evans wrote:
> On Fri, May 3, 2013 at 11:04 AM, Avnesh Shakya
> wrote:
> > hi, please tell me.
hi,
I am facing error -
MultiValueDictKeyError at /profilesetting/ramuss
"Key 'name' not found in "
I am trying to upload image using dynamically(using javascript),
but when I click on upload button after selecting image, it's showing this
error.
my html page contain-
{% block scriptquer
s Phone
> --
> From: Avnesh Shakya
> Sent: 5/9/2013 5:31 AM
> To: django-users@googlegroups.com
> Subject: error - MultiValueDictKeyError at /profilesetting/ramuss
>
> hi,
> I am facing error -
> MultiValueDictKeyError at /profilesetting/r
Hi,
I am inserting data into my models using sqlite3 manually, but it's
not storing without id, it's generating error, this Id is generated
automatically in django. how is it possible that i can store data without
taking id value. please help me out.
thanks.
--
You received this me
hi,
I am getting error -
NoReverseMatch at /login/
u'facebook' is not a registered namespace inside 'socialregistration'
when I am clicking on login link. I have installed all required things using
documantation -
http://django-socialregistration.readthedocs.org/en
hi,
I want to create login button in my django login page, so i have to
create app first for creating button, but i am unable to create app in
google. how to create google app for login, please tell me about, and link,
so that i can create app in google for authentication.
Thanks
--
You r
Hi,
First set your databasename in settings.py file
'Name': 'db'
then try it. hopefully it will be helpful.
regards,
Avnesh
On Mon, May 20, 2013 at 11:44 AM, Sun Simon wrote:
> *Basic Facts:*
> OS: Windows
> Python version: 2.7
> Django Version: Instant Django(
> https://groups.google.c
Try Pycharm, but use always eclipse. eclipse is better than it.
Regards,
Avnesh Shakya
On Thu, May 30, 2013 at 10:53 AM, Aswani Kumar wrote:
> hi guys,
>
> we are having problem with eclipse 3.8 with pydev perforce plugins on
> ubuntu 13.04
>
> *problem :* after usi
56 matches
Mail list logo