'NAME': 'mysite'), the paran doesn't belong there
On Sat, Apr 19, 2014 at 10:11 AM, Toan ComS wrote:
>
>
>
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'django.db.backends.sqlite3',
>> 'NAME': 'mysite'),
>> }
>> }
>>
>
> Is it wrong?
>
> --
> You received this message
Hi Guys,
I am building a django app that runs out of my /Users/me/Dropbox directory.
Localhost is pointed at my /Users/me/Sites directory.
mod_wsgi installed.
apache installed
django installed and app working fine in development mode
I am trying to embed media in a template
This media
Hi
Im using django send mail and here is my view code .
def send(request):
send_mail('subject', 'message, 'mym...@gmail.com',
['mym...@gmail.com'], fail_silently=False)
and I got thie error :
Traceback:
110. self.connection.sendmail(from_email, recipients,
message.as_byte
It all depends on how you learn. You can read the API documentation and
gain a good understanding of what django provides as a framework. Or, read
the source and the comments to really understand what is going on. Reading
the source is a great use of your time.
Personally, I find it easier to lear
On Sat, Apr 19, 2014 at 6:36 PM, nobody wrote:
> Hi,
>
> I set up an URL when cliking a submit button, I got
> http://myhost.com/user/?userid=5987.
>
> If it is a REQEST, I can get useid = request.GET['userid']. But in POST, I
> could not get the variable from the POST, I could not even find the
Hi,
POST variables are appended to the HTTP request body instead of the URL [0].
If you want a variable to be available in the request.POST dictionary,
the browser must send it as a POST variable (in the request body). You
could use a hidden input to do it:
[0]
https://developer.mozilla.org
Hi Adam,
>From your settings.py I guess the expanded url is something like
/PROYECTOS/file.xyz, right?
But, in your Apache alias your are serving the url /proyectos/ [0],
and urls are case sensitive unless you're using mod_speling [1].
I think "Alias /PROYECTOS/ /PROYECTOS/" should do the trick.
7 matches
Mail list logo