I have an apps dir, and several project dirs (one per domain/subdomain)
the settings files for are kinda like this:
from mainproject.settings import *
then i'll just re-define what i'm overwriting.. like SITE_ID, or urls, etc..
it seems to work good for me
On Wed, Apr 18, 2018 at 8:39 PM, Mik
Hi,
I just need some suggestions with this error that I am getting. I searched
some related posts in Stackoverflow but most of the posts related were
problems with urls.py or name in urls. My issue is that the page loads if I
just put a plain HTML text in the page but the error occurs when I try t
On 18/04/2018 6:09 PM, Simon Barnett wrote:
Ah, I think you've slightly misunderstood me.
I already have staging and production sites and settings files - I
don't use the Sites framework for that - I just use the
DJANGO_SETTINGS_MODULE to control which settings file to use.
But now, I need t
A migration generated with `python manage.py makemigrations` Fails to
execute using `python manage.py migrate`.
Model Layout:
class Offer(BaseModel):
client = models.ForeignKey(Client, on_delete=models.PROTECT,
related_name='offers')
amount_off = models.DecimalField(max_digits=5, decim
Hi! Thanks for your response! I feel I have gone about this in a very odd
way. I don't think that it is actually the answer but it works now.
I am able to get the information out now without errors. What is your
thought approaching it this way? Thank you for your time and help!
I am hoping that
Hi All,
I'm create a one applications using django frame work, my requirement is
input and our should be on the same page (like input test box and output
text box)
please help me how to create a forms.py and views.py
appreciate your help.
--
You received this message because you are subscrib
It's not necessary to create virtual environment on production. You must
have to install all dependencies which are on development.
On Apr 18, 2018 9:02 PM, "mansi thakkar" wrote:
Hello ,
I am trying to deploy my project on Heroku. I haven't created Virtual
Environment in my app. Is it necessar
Hello ,
I am trying to deploy my project on Heroku. I haven't created Virtual
Environment in my app. Is it necessary to have virtual environment to
install white noise and deploy my app to Heroku? Please respond me back as
soon as possible.
Thanks in advance.
--
You received this message
You will need to gve an example of your struggles (witth code being used to
pull info, and with error traces) before we can help; all you have shown is
model code.
On Sunday, 15 April 2018 05:55:21 UTC+2, coreyj...@gmail.com wrote:
>
> Dear all,
>
> I am really struggling with pulling informat
Hello
--
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.c
Ah, I think you've slightly misunderstood me.
I already have staging and production sites and settings files - I don't
use the Sites framework for that - I just use the DJANGO_SETTINGS_MODULE to
control which settings file to use.
But now, I need to start using the Sites framework to serve mutl
Hi Chris,
SQL Server is not one of the databases that Django supports out of the box.
There are third party packages available, though, but I haven’t tested any of
them with recent versions.
Saying that, you can create views in your database backend. In your migrations
file, use the RunSQL ope
I'm trying to create a chat that when it meets the condition of "hola" is
sent by a task in celery. However, when it enters the condition the status
is not updated, can someone help me?
I leave my code, please help!
Mi error is:
raise OSError(err, 'Connect call failed %s' % (address,))
Conn
Thanks guys - I knew I could rely on getting good suggestions even in my
sleep :-)
@James: I was thinking about going with regexp, but my regexp fu isn't to
great - would take me too much time to sort through the regexp required.
However I am thinking about doing something along those lines anyway
14 matches
Mail list logo