+919507954646
On Mon, Sep 26, 2022, 18:24 Abdulfarid Olakunle
wrote:
> Hello fellow developers, I will be creating a WhatsApp group chat later in
> the day, So I will like my fellow Python Django Developers to join the
> group. It will be much easier to discuss there and I will sacrifice myself
>
> The difficulty you're having here is that you're trying to write Java
> code in Python. :-)
>
> Unless there's something stateful about the UserService, there's no
> reason for it to be in a class at all - create_user, create_friendship
> etc can just be methods sitting in a module.
>
> A lit
I just tried to find a solution for define database model wise in Django.
like in my settings.py there are three databases
settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
},
'db_one': {
well.
>
Yes, this is true, while inquiring with one web host in India, they agreed
to offer straight 20-30% discount but still their VPS-based plans were out
of reach for us.
If nothing else works out our last option will be to host in college
servers, but that involves additional headache be
- our previous website was based off Drupal (PHP based
CMS) and we would like to maintain an archive of that too, if possible, on
this new hosting solution, but this is not a primary requirement.
--
Kartik
http://k4rtik.wordpress.com/
--
You received this message because you are subscribed
Hi Django Gurus,
I am trying to execute a transactional test and I see this problem:
Error: Database moglog couldn't be flushed. Possible reasons:
* The database isn't running or isn't configured correctly.
* At least one of the expected database tables doesn't exist.
* The SQL was invalid.
jango\db\backends
\postgresql\base.p
y", line 20, in
raise ImproperlyConfigured("Error loading psycopg module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg
module: No mo
dule named psycopg
On Apr 5, 12:54 pm, Dennis Kaarsemaker wrote:
> On ma, 2
xecuted
"import django" and django.VERSION from python shell. The output was
(1, 1, 1, 'final', 0). Any help would be greatly appreciated.
Thanks,
Kartik
The tail of the installation log is given below:
copying django\contrib\gis\tests\geoapp\sql\country.mysql.sql -> C:
\to
8 matches
Mail list logo