go to the ...surftrackr\log\ folder and change it in view.py file (at the
top)

in error trace there is information about where does the problem has occured
(surftrackr.log.view)

R.



Arnoud Tijssen wrote:
> 
> How do I change this? 
> Where can I find the necessary file to change/edit this.
> 
> BTW. Thnx for the quick respons.
> ___________________________________
> Arnoud Tijssen
> Technical Consultant
>  
> RAM Mobile Data
> Planetenbaan 26
> 3606 AK Maarssen
>  
> ( 030-2390 390
> Ê 030-2390 300
> * [EMAIL PROTECTED]
>  
> RAM Mobile Data (Netherlands) B.V.
> Statutair gevestigd te Utrecht
> Handelsregisternr. 30115741
>  
> P please don't print this e-mail unless you really need to
>  
> 
> 
> 
> From:
> urukay <[EMAIL PROTECTED]>
> To:
> django-users@googlegroups.com
> Date:
> 10-10-2008 09:37
> Subject:
> Re: viewdoesnot exist at /
> 
> 
> 
> 
> 
> As Russell wrote, you need to change the way u're importing newforms:
> 
> from django import forms
> 
> R.
> 
> 
> ATijssen wrote:
>> 
>> I
>> 
>> 
>> 
>> 
>> From:
>> urukay <[EMAIL PROTECTED]>
>> To:
>> django-users@googlegroups.com
>> Date:
>> 10-10-2008 09:27
>> Subject:
>> Re: viewdoesnot exist at /
>> 
>> 
>> 
>> 
>> 
>> looks like, the problem is in importing newforms.
>> what django version are u using?
>> 
>> Radovan
>> 
>> 
>> ATijssen wrote:
>>> 
>>> Hey,
>>> 
>>> I`m a newbie when it comes to Django and python.
>>> 
>>> I`m trying to install surftrackr, a squid and dansguardian log 
> analyzer, 
>> 
>>> which uses the django framework.
>>> Hopefully someone can help me here.
>>> 
>>> When I try to open the webinterface of surftrackr I get the following 
>>> error with traceback:
>>> 
>>> 
>>> ViewDoesNotExist at /
>>> Could not import surftrackr.log.views. Error was: cannot import name 
>>> newforms
>>> Request Method:
>>> GET
>>> Request URL:
>>> http://<vhost>/
>>> Exception Type:
>>> ViewDoesNotExist
>>> Exception Value:
>>> Could not import surftrackr.log.views. Error was: cannot import name 
>>> newforms
>>> Exception Location:
>>> /usr/lib/python2.5/site-packages/django/core/urlresolvers.py in 
>>> _get_callback, line 133
>>> Python Executable:
>>> /usr/bin/python
>>> Python Version:
>>> 2.5.2
>>> Python Path:
>>> ['/data', 
>>> '/usr/lib/python2.5/site-packages/pygooglechart-0.2.1-py2.5.egg', 
>>> '/usr/lib/python2.5/site-packages/pyparsing-1.5.0-py2.5.egg', 
>>> '/usr/lib/python25.zip', '/usr/lib/python2.5', 
>>> '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', 
>>> '/usr/lib/python2.5/lib-dynload', 
>>> '/usr/local/lib/python2.5/site-packages', 
>>> '/usr/lib/python2.5/site-packages', 
> '/var/lib/python-support/python2.5']
>>> Server time:
>>> Fri, 10 Oct 2008 09:10:30 +0200
>>> 
>>> 
>>> Traceback:
>>> File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in 
> 
>>> get_response
>>>   77.                     request.path_info)
>>> File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in 
>>> resolve
>>>   181.                     sub_match = pattern.resolve(new_path)
>>> File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in 
>>> resolve
>>>   124.             return self.callback, args, kwargs
>>> File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in 
>>> _get_callback
>>>   133.             raise ViewDoesNotExist, "Could not import %s. Error 
>>> was: %s" % (mod_name, str(e))
>>> 
>>> Exception Type: ViewDoesNotExist at /
>>> Exception Value: Could not import surftrackr.log.views. Error was: 
>> cannot 
>>> import name newforms
>>> 
>>> Hopefully someone can shine a light on this problem. Google doesn`t 
> have 
>> 
>>> the answer either. It`s probably very simple, but as I said I`m new to 
>>> Django and Python.
>>> 
>>> Thanks,
>>> Arnoud
>>> > 
>>> 
>>> 
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/viewdoesnot-exist-at---tp19913222p19913260.html
>> Sent from the django-users mailing list archive at Nabble.com.
>> 
>> 
>> 
>> 
>> 
>> 
>> > 
>> 
>> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/viewdoesnot-exist-at---tp19913222p19913384.html
> Sent from the django-users mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/viewdoesnot-exist-at---tp19913222p19913555.html
Sent from the django-users mailing list archive at Nabble.com.


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

Reply via email to