Thanks, it works now. :D
On Jun 3, 2:14 pm, Kenneth Gonsalves wrote:
> On Fri, 2011-06-03 at 05:07 -0700, Kann wrote:
> > > you have a file called mirnaweb.py - your path should contain only
> > the
> > > parent directory to your mirnaweb directory. Python is now looking
> > for
> > > settings in
On Fri, 2011-06-03 at 05:07 -0700, Kann wrote:
> > you have a file called mirnaweb.py - your path should contain only
> the
> > parent directory to your mirnaweb directory. Python is now looking
> for
> > settings inside mirnaweb.py
>
> OK, now I changed the setting file into mirna_settings.py to
> you have a file called mirnaweb.py - your path should contain only the
> parent directory to your mirnaweb directory. Python is now looking for
> settings inside mirnaweb.py
OK, now I changed the setting file into mirna_settings.py to avoid the
confusion with the directory name. I also include t
On Fri, 2011-06-03 at 04:44 -0700, Kann wrote:
> Below is what I just did. Does this mean that I still have problem
> with my pythonpath?
yes
>
> [xxx@lagrange mirnaweb]$ python manage.py
> Error: Can't find the file 'settings.py' in the directory containing
> 'manage.py'. It appears you've custo
uot;credits" or "license" for more information.
(InteractiveConsole)
>>> import urls
>>>
Kann
On Jun 3, 1:16 pm, Kenneth Gonsalves wrote:
> On Fri, 2011-06-03 at 04:11 -0700, Kann wrote:
> > [Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1]
On Fri, 2011-06-03 at 04:11 -0700, Kann wrote:
> [Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1] ImportError: No
> module named urls
no module named urls can also mean that urls.py has errors. From the
shell try to import urls
--
regards
KG
http://lawgon.livejournal.com
Coimbatore L
[client 127.0.0.1] File "/usr/lib/
python2.7/site-packages/django/utils/importlib.py", line 35, in
import_module
[Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1]
__import__(name)
[Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1] ImportError: No
module named urls
>>
Ah fantastic many thanks.
All working nicely now much appreciated.
On Jul 10, 4:16 pm, Russell Keith-Magee
wrote:
> On Fri, Jul 10, 2009 at 10:33 PM, huw_at1 wrote:
>
> > So I switched from mod_python to mod_wsgi since I don;t really know
> > what is going on and I realise mod_wsgi is recommend
On Sat, Jul 11, 2009 at 12:26 PM, selcukcihan wrote:
>
> Using trunk with apache + mod_wsgi,
>
> Hi, i also have url problems with admin. First of all, if i use the
> depreciated method(r'^admin/(.*)', admin.site.root) everything works
> fine.
>
> Well, since there is a new method, i switched to
Using trunk with apache + mod_wsgi,
Hi, i also have url problems with admin. First of all, if i use the
depreciated method(r'^admin/(.*)', admin.site.root) everything works
fine.
Well, since there is a new method, i switched to it; using
(r'^admin/', include(admin.site.urls)).
The problem is on
On Fri, Jul 10, 2009 at 10:33 PM, huw_at1 wrote:
>
> So I switched from mod_python to mod_wsgi since I don;t really know
> what is going on and I realise mod_wsgi is recommended for 1.1 now.
> Anyway the rest of my site works fine now. The only part still not
> working is the admin section which f
quot;, line 213, in
> _get_url_patterns\n patterns = getattr(self.urlconf_module,
> "urlpatterns", self.urlconf_module)
> [Thu Jul 09 16:24:08 2009] [error] [client 192.168.2.20] File "/usr/
> lib/python2.6/dist-packages/django/core/urlresolvers.py", line 208, in
rns", self.urlconf_module)
[Thu Jul 09 16:24:08 2009] [error] [client 192.168.2.20] File "/usr/
lib/python2.6/dist-packages/django/core/urlresolvers.py", line 208, in
_get_urlconf_module\nself._urlconf_module = import_module
(self.urlconf_name)
[Thu Jul 09 16:24:08 2009] [error] [cli
Hey!
A full traceback could be helpful.
A lot of time when you've got really strange import errors they have
something to do with circular imports. Did you change any imports
right before or after the upgrade?
Regards,
Friðrik Már
On Jul 9, 2009, at 3:25 PM, huw_at1 wrote:
>
> Hi all,
>
>
Hi all,
I have just been moving my website to a production server and am
having some difficulty getting it working. I have upgraded the Django
from 1.0 on my development server to 1.1 on the production server.
When I try to access the admin pages I get an Internal Server Error
and a message in th
> I am just starting out with django (and python). I have already worked
> through the tutorial successfully; now I am going through it again
> adapting the examples to suit the web app I want to build (a local
> book sharing scheme). What I have done so far is to define the models,
> create the d
hello,
I am just starting out with django (and python). I have already worked
through the tutorial successfully; now I am going through it again
adapting the examples to suit the web app I want to build (a local
book sharing scheme). What I have done so far is to define the models,
create the dat
17 matches
Mail list logo