x27;classes': 'collapse'}),
My error was due to referring to the attribute 'pub_date' in both
lines of code. Removing it from the first line resolved the problem.
Sorry for the noise.
- Mark
On May 4, 2007, at 12:30 PM, Mark Phillips wrote:
>
> On May 4, 2007,
ame");
CREATE UNIQUE INDEX "Guide_venue_venueSlug" ON
"Guide_venue" ("venueSlug");
COMMIT;
and here is the minimal data file that fails:
cat test.json
[{"pk": "1", "model": "Guide.venuetype", "fields": {&q
does not agree with the tutorial. My result
says "No module named view.detail".
- Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djan
doesn't
seem like a good idea. I assume the original directive is in many
django files.
I hadn't changed the links in /usr/bin for fear of upsetting some
other application on the server. I am not sure what to do in this case.
Advice from this list wou
eworks/Python.framework/Versions/2.4/lib/python2.4/lib-
dynload',
'/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages']
I posted another today, "django.loc/admin is not found". In I
describe a circumstance that makes me wonder if the fast cgi is
Hi Russ,
Thank you for all your help, I renamed my app name and it works fine
at the moment.
I posted a ticket (I hope its ok, my fist one) #4231.
Thanks again,
Mark.
On 06/05/2007, at 10:21 AM, Russell Keith-Magee wrote:
On 5/5/07, Mark Jarecki <[EMAIL PROTECTED]> wrote:
>
&g
to #!/usr/local/python
Is there any serious problem with this?
- Mark
--~--~-~--~~~---~--~~
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@googlegro
On May 8, 2007, at 7:55 AM, Jens Diemer wrote:
> You must only change the shebang in your "init/index" python
> script. The
> Handler file.
Thank you. I am not familiar with the "init/index" python script. C
tables.
Are any of these the file you refer to?
- Mark
--~--~-~--~~~---~--~~
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 unsubsc
file.
127.0.0.1 localhost mydjango.mysite.com
255.255.255.255 broadcasthost
::1 localhost
Critique, links and suggestions warmly accepted.
- Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&
On May 11, 2007, at 9:40 PM, Malcolm Tredinnick wrote:
> More information is definitely needed here. You've just done the
> equivalent of "I've had a car accident." "Where should we send the
> auto
> service?" "There's a traffic light here."
Thanks for the reply, Malcolm.
--~--~-~--~
(61)Connection refused: FastCGI: failed to connect to server
"/Library/WebServer/CGI-Executables/django.fcgi": connect() failed
[error] FastCGI: incomplete headers (0 bytes) received from server "/
Library/WebServer/CGI-Executables/d
u
> need to be registered for that...
>
> Any ideas what is causing it?
I didn't try posting the forum but I did visit the web site and click
on a couple of tags in the cloud. Got a list of posts, no error message.
hth,
- Mark
--~--~-~--~~~---~--~--
e")
TypeError: runfastcgi() got an unexpected keyword argument 'method'
Any ideas?
- Mark
On May 12, 2007, at 10:23 AM, Don Arbow wrote:
>
> You stated you got a python traceback and yet you only show us the
> error message. What Malcolm was trying to say was that it wo
go.fcgi", I get the trace back later in this note.
In case it is related, when I start the server, I see in the error
log a FastCGI error "access for server failed: write not allowed".
- Mark
Content of trace back in browser:
/usr/local/bin/build/bdist.macosx-10.4-fat/egg/
Hi,
Im currently at a loss about how to fix this issue.
I have tried the modpython.patch in #1796.
What is weird is that the doesn't consistently appear - it is
intermittent. When I refresh the page it sometimes appears as it
should, and other times with the error. I'm running the latest Dja
Decided to try a clean slate. Set up Django on SME Server 7.1, which
is based on Centos 4.
Compiled and installed mod_python
Amended httpd.conf as follows:
LoadModule python_module modules/mod_python.so
and later on in the file...
SetHandler python-program
PythonPath "['/usr/local/m
ed another one: no module
named mysite.urls.
Many thanks for the advice, Steven and Malcolm.
Happy days,
- Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
s.py", line 170, in __init__
_mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL
server on '127.0.0.1' (111)")
The user and database referenced in settings.py exists in mysql.
Perhaps I overlooked or misunderstand a config for mysqldb?
TIA,
- M
Just to let you know, the code below works fine on the development
server.
I've now tried all the patches and the error still persists. Are
there any suggestions?
Cheers
Mark
On 14/05/2007, at 1:33 PM, Mark Jarecki wrote:
> Hi,
>
> Im currently at a loss about how to fix thi
ment server which is
running OSX.
Suggestions?
On 15/05/2007, at 9:42 AM, Mark Jarecki wrote:
> Just to let you know, the code below works fine on the development
> server.
>
> I've now tried all the patches and the error still persists. Are
> there any suggestions
for icon in icons:
if Products.objects.filter(id=product.id,
productOSIcons=icon, isPublished=True):
osIcons2.append(icon)
Which is a REALLY ugly solution, but hopefully I wont have to use it
for too long.
Mark.
On 15/05/2007, at 3:15 PM, Mark Jarecki wrote:
I'm not su
ss it via command line and phpMyAdmin. I
believe the settings are correct but I will double check the
settings.py when the coffee begins its wonderful task in my grey matter.
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
On May 14, 2007, at 7:41 AM, ilDave wrote:
> Check the permissions of the directory where your app lives, it has to
> be readable by the webserver.
Good suggestion. I think it is root:wheel 755 but I will check.
- Mark
--~--~-~--~~~---~--~~
You receive
On May 14, 2007, at 10:37 AM, badger17 wrote:
> Are the port and host settings correct in
> settings.py ?
In settings.py I had the host as "127.0.0.1". I changed that to an
empty string, and the connection succeeded.
T
time to rebuild the os x server.
Happy days,
- Mark
--~--~-~--~~~---~--~~
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 unsubscri
written.
I would like to go through the admin and apply my fix to it. I'm just
wondering what files I would have to look through. Do I only have to
go through the django/contrib/admin/ folder and all the files in it?
Regards,
Mark.
On 15/05/2007, at 7:33 PM, Malcolm Tredinnick wro
Thanks for the pointer.
This does indeed change the default value to 'Male'
but the select-box still offers the dashes...
I want to eliminate the dashes-option completely,
why give the user a choice that will never be accepted?
-mark
On Mon, 2007-09-10 at 06:47 +, Ryan wrote:
>
(remove expiry).
Is there anything in the API to implement that or can I get
at the session-cookie meat to do it manually?
I basically need to override the default from
SESSION_COOKIE_AGE for individual sessions.
-mark
--~--~-~--~~~---~--~~
You received this
> http://www.google.com/url?sa=t&ct=res&cd=4&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fdjango-users%2Fbrowse_thread%2Fthread%2F7b65ff5783f71b9c%2Fa4079aa60e7dfa37&ei=GFT3Ro7tOKGegAPn49C_BA&usg=AFQjCNHCE35TvLu4ZdYy1SklwYZh8b_wqg&sig2=fPsOuIxzECnESDy_ZtHWqg
>
> -joe
>
&g
s added or not to a form
is a bit above my head.
could it be that the dash-option just cannot be disabled in
current django? if so i'd love to see that fixed as i fear
i'm not capable to patch it myself properly.
-mark
On Fri, 2007-09-07 at 01:31 +0200, Mark Green wrote:
> Hi all
option in settings.py defaulting to False.
-mark
On Wed, 2007-09-26 at 01:29 -0500, Joseph Kocherhans wrote:
> On 9/26/07, Przemek Gawronski <[EMAIL PROTECTED]> wrote:
> >
> > I'm using several forms (newforms) to build one html form. One thing to
> > watch out for is
On Wed, 2007-09-26 at 23:56 -0500, Joseph Kocherhans wrote:
> On 9/26/07, Mark Green <[EMAIL PROTECTED]> wrote:
> >
> > I say thanks for the pointer, too.
> > A quick question (since you seem to be involved with this), is there any
> > reason to have django not
hi all,
i'm looking for a way to perform a bunch of initialization tasks
right after django startup.
where would i put such things and how/when are they called?
-mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
On Fri, 2007-09-28 at 22:29 -0500, James Bennett wrote:
> On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > i'm looking for a way to perform a bunch of initialization tasks
> > right after django startup.
>
> There really is no such thing as "Django start
On Fri, 2007-09-28 at 22:34 -0600, staff-gmail wrote:
> James Bennett wrote:
> > On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
> >
> >> i'm looking for a way to perform a bunch of initialization tasks
> >> right after django startup.
> &
On Sun, 2007-09-30 at 16:16 -0500, James Bennett wrote:
> On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > Hm, this raises some serious scalabity questions for me.
> > >From your description it sounds like there is no template
> > fragment caching, not even
On Sun, 2007-09-30 at 20:29 -0500, James Bennett wrote:
> On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > My question was really only about the former, a much simpler problem:
> > How to keep a tcp connection persistent and re-use it across requests?
>
> By
On Sun, 2007-09-30 at 20:37 -0500, James Bennett wrote:
> On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > I'm not sure what drove me to call it "fragment caching".
> > What I really meant to point at are the little things (such as
> > form_for_mo
ot really inviting
to give or take yet another drop. A little more structure
and clustering would provide much better positive feedback
to the contributor here. It just *feels* better to close ticket
6 of 10 on a Sub-Goal, pushing it from 50% to 60%, than to close
one random ticket out of hundreds wit
rm with initial={ 'gender':'m' } at least sets the default option
correctly (default='m' on the model is happily ignored btw, why?) but the dashes
are still there.
It obviously doesn't make sense to offer an option to the user
that they aren
hen expanded to bitmap)
would it be feasible to subclass ImageFile and replace the PIL
calls with some paranoid homegrown stuff (i.e. ImageMagick),
anyone know a starting point for this?
-mark
--~--~-~--~~~---~--~~
You received this message because you are su
On Tue, 2007-10-16 at 10:18 -0400, Marty Alchin wrote:
> I've done some work on FileField lately that address some of your concerns.
>
> On 10/16/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > * does django properly sanitize the filename or rather, use
> > safe
On Fri, 2007-11-23 at 14:59 -0800, leotr wrote:
> Yes, not only it's dirty but it's ineffective as well!
And your idea violates DRY.
> Declare a constant somewhere and use it in both model and form.
And where would that "somewhere" be?
Custom constants on the model?
I see no point in adding in
boilerplate code and
I'm convinced there must be a much more elegant way to solve
this all at the model level.
I have the country/city relation in the database already, so
it's just a matter of instrumenting it properly within django.
Can someone set me on the right track? :)
-mark
If one has an object like so:
class bug((models.Model):
#...
status = models.ForeignKey(Status)
No
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
ata.keys())
#return HttpResponse(out)
else:
errors = new_data = {}
form = forms.FormWrapper(manipulator, new_data, errors)
return render_to_response('mergemanager/merge_request_submit.html',
{'form' : form})
The save always fails telling me that
that the example code you gave is an update,
not an insert?
Also, I don't pass a parameter to the manipulator like the example
does. I'm not sure what that does. But, it doesn appear to be related.
namaste,
Mark
On 10/11/06, nilkram <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
umbnail
as opposed to:
class Meta:
and
class Foo(models.Model):
Cheers and thanks in advance!
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email t
Thanks guys
Ended up that the Python Imaging Library was not correctly installed.
It all works now!
Cheers
On 07/11/2006, at 2:15 AM, Nebojsa Djordjevic wrote:
* Frankie Robertson wrote, On 06.11.2006 12:59:
> On 06/11/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote:
>> On Mon, 2006-11-06 a
Hi allI'm trying to use the value of a foreignkey as an input to the "upload_to" path of an image field (note I'm using ImageWithThumbnailField and it works properly when upload_to='Images/'). But i can't seem to form a proper string to enter. The images load into folders with names such as: When a
Thanks all. I've just jumped into the Django Book!
On 1/11/07, Joseph Heck <[EMAIL PROTECTED]> wrote:
>
> Head to the tutorials at http://www.djangoproject.com/documentation/ and
> work through them. Once you're done with that, take a look at
> http://www.djangobook.com/
>
> -joe
>
> On 1/11/07, [
Hey, that's exactly what I needed too. But when I tried it, I got a
OperationalError: (1140, 'Mixing of GROUP columns (MIN(),MAX(),COUNT()...)
with no GROUP columns is illegal if there is no GROUP BY clause')
I'm using MySQL - maybe I need a different syntax there. But I can easily
use SUM direc
don't know what to put there. I originally thought
".forloop.counter0" but that doesn't work.
Any ideas on how to go about this?
Cheers
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On 17/01/2007, at 11:40 AM, Zak Johnson wrote:
Mark Jarecki wrote:
I imagined replacing it with something like:
{% for date in Date_List %}
{{ Date_List.NotSureWhatToPutHere }}
{% endfor %}
Much like Python loop syntax:
{% for date in Date_List %}
{{ date }}
{% endfo
Replaced the dictionary in the views.py with a list and all was fine.
Thanks
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to dj
what has been discussed for two months? that model inheritance will not
longer be supported? or that there is a alternate way to support the
concept?
(i just subscribed to this list a few days ago but have the same issue
as daniel)
MarkS
Douglas Campos wrote:
it has been discussed her
In Django 3.1, we were using autocomplete_fields on Admin edit pages with
some foreign keys. To improve usability, we had overridden
ModelAdmin.autocomplete_view so that it would provide us with
human-readable labels. Very similar to the question and solution in this
Stack Overflow
post:
http
has all the albums and photos in named directories on the file
system, so I would like, if possible, to have the new photo gallery use the
same directory structure. There are so many django photo galleries that I
am not sure what is good and what isn't.
Thanks for your recommendations!
create-django-test-database
if
anyone can help.
Thanks!
Mark
--
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.
Yes. All migrations have been done.
On Tue, Jun 7, 2022, 9:01 AM Sebastian Jung
wrote:
> Do you have make manage.py migrate and afzer this manage.py makemigrations?
>
> Mark Phillips schrieb am Di., 7. Juni 2022,
> 17:02:
>
>> I can't seem to be able to create a t
I would like to change the link that opens a Django app. Currently the app
is launched with GET http://localhost:8000. I would like to include a
username and password in the header. The header would be intercepted
somehow (Middleware?) and the user marked as authenticated. The app will
then lau
Thanks
On Fri, Jul 22, 2022, 7:49 PM Gerardo Palazuelos Guerrero <
gerardo.palazue...@gmail.com> wrote:
> I'm watching this series, it might help you understand.
>
> Python & Django 3.2 Tutorial Series
>
> https://www.youtube.com/watch?v=SlHBNXW1rTk&list=PLEsfXFp6DpzRMby_cSoWTFw8zaMdTEXgL
>
> --
Try adding your ngrok domain to the list of CSRF_TRUSTED_ORIGINS:
https://docs.djangoproject.com/en/4.1/ref/settings/#csrf-trusted-origins
E.g. assuming you're using https:
CSRF_TRUSTED_ORIGINS = ["https://*.ngrok.io";]
On Wednesday, November 23, 2022 at 2:22:14 PM UTC dhana...@gmail.com wrote:
I have an admin with 1 row in the tabular inline. I have a custom queryset
in
class ExtensionTabularInlineFormSet(BaseInlineFormSet):
def get_queryset(self) -> QuerySet[Extension]:
qs = super().get_queryset()
This gets called 20 times to display that one row. When you have more
ro
We're getting this Oracle error from the Django line:
File
"/home/aotemp/myvenv/lib/python3.8/site-packages/django/db/backends/utils.py",
line 89, in _execute
return self.cursor.execute(sql, params)
File
"/home/aotemp/myvenv/lib/python3.8/site-packages/django/db/backends/oracle/base.py",
;, views.depot_device,
name='depot'),
But when the system sends in a URL like:
*devices/show/a100038596*
I get NoReverseMatch on the pattern above (which works for other URLs in
the system, so just changing it doesn't work.)
Can you provide an additional pattern that will work
Denis Darii already answered this on February 1st:
"You can redefine your database connection by adding somewhere at the end
of your settings.py something like:
import sys
if 'test' in sys.argv:
DATABASES = ...
hope this helps."
Did you try this?
On Wed, Feb 8, 2012 at 7:19 AM, xina tow
e the unit
tests are performed. I assume the reason you want to use a previously,
externally created DB is that you want to test based on the data in that
DB. If this is the case, it is perfect to use a fixture of that DB's data.
Mark
On Wed, Feb 8, 2012 at 7:42 AM, xina towner wrote:
> Yes
You can also use the south application to manage migrations.
pip install south
Then add 'south' to the list of installed apps.
To start off you can do
./manage.py schemamigration --initial appname
./manage.py migrate appname
Then whenever you make a change to your models:
./manage.py schemamigra
You can have a look here for Django's docs on these...
https://docs.djangoproject.com/en/dev/ref/settings/
https://docs.djangoproject.com/en/dev/topics/files/
The media stuff are for where files are stored typically after upload.
So for example, there's the ImageField that you can use as a field o
Great news! Happy to see the new version comes out ASAP. However, with the
deprecate of old style patch of 3rd app URL reverse, is that means I must
rewrite views and template codes of my app to fit this upgrade? And should
I to do so if I wanna use others' app?
--
You received this message be
I've created a manage.cmd and put it on my path so I can type less
while on windows
the command is just
@echo off
python manage.py %*
this makes it more like linux
The "@echo off" part is important because mange dumpdata >filename
doesn't want to see the command line echoed into the json file.
I use WingIDE and one license covers all 3 platforms for a developer.
And the guys that make it are incredibly nice and helpful with
features and how to use.
I Highly recommend it. (30 day free trial too)
--
You received this message because you are subscribed to the Google Groups
"Django user
lugin to work. I am
looking at ninja, but there does not appear to be a django plugin.
Thanks,
Mark
--
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
-linux-gnu (x86_64) using
readline 6.2
django 1.3.1 final
Thanks,
Mark
--
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
dj
-you to all the writers on the
project! For what it is worth, I am using django 1.3 on Debian testing
(that is the latest version in the Debian repositories).
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
| yyy
6 | 4 | 3 | zzz
Basically, I have sets of data determined by a foreign key, and I want to
know the order in which the rows arrive within a data set.
Thanks for your suggestions!
Mark
--
You received this message because you are
On Fri, Apr 6, 2012 at 10:58 PM, Dennis Lee Bieber wrote:
> On Fri, 6 Apr 2012 22:34:35 -0700, Mark Phillips
> declaimed the following in
> gmane.comp.python.django.user:
>
> >
> > Basically, I have sets of data determined by a foreign key, and I want to
> > kn
ject.com/en/dev/ref/models/instances/#django.db.models.Model.__unicode__>
methods
to your models, not only for your own sanity when dealing with the
interactive prompt, but also because objects' representations are used
throughout Django's automatically-generated admin.
Mark
On Tue, A
That's not very nice to prosecute potential employees.at least wait
until you hire them and they do something wrong.;)
Mark
On Thu, Apr 12, 2012 at 5:52 PM, Martino wrote:
> Good day,
>
> I am Martin Vincent, CTO for ISolutionspro, an internet business
> con
Hi all,
I'm working on an app that will store gps coordinates from devices. That
information will come in every 5 or so minutes of each hour. So it's alot
of data. Any recommendations on how I should store this? Do I use multiple
databases and use say MongoDB or Couch for the storage of the poi
Not sure about satchmo, but a brand would be intel, and a brand category
would be microprocessor.
Mark
On May 5, 2012 10:24 AM, "kooliah"
wrote:
> I'm not english mother language, so I can't understand the difference from
> brand and brand category, i googled very muc
-
https://docs.djangoproject.com/en/1.3/topics/db/queries/, but I am not
seeing how to make the translation.
I am using django 1.3.
Thanks!
Mark
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
On Sun, May 6, 2012 at 9:24 AM, Dennis Lee Bieber wrote:
> On Sun, 6 May 2012 08:16:02 -0700, Mark Phillips
> declaimed the following in
> gmane.comp.python.django.user:
>
> > I have three tables -
> > Person: id, first_name, last_name, deleted, last_update
>
better ways to handle these scenarios?
Thanks,
Mark
--
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
django-user
related field 'Team.team_id'. Add a related_name argument to the
definition for 'visitingteam_id'.
I read the related names documentation referenced in the related_name
description, and that did not help me understand what I need to do to fix
this problem. I think I und
Thanks, that worked.
Now, can you please explain why it worked? What does the related_name do
and why do I need it?
Thanks!
Mark
On Wed, May 23, 2012 at 7:34 AM, Simone Federici wrote:
> class Game(models.Model):
> game_id = models.IntegerField(primary_key=True)
>
Thanks! I think I understand it now!
Mark
On Wed, May 23, 2012 at 8:00 AM, Simone Federici wrote:
> On Wed, May 23, 2012 at 4:40 PM, Mark Phillips > wrote:
>
>> Now, can you please explain why it worked? What does the related_name do
>> and why do I need it?
>
> W
I am having similar problems. did you manage to get this fixed?
On Wednesday, January 25, 2012 6:51:34 AM UTC-8, leaks wrote:
>
> Hey all... i get this error while i have a template directory and my
> about.html file It doesn't display the home.html either...
>
> Environment:
>
>
> Request
I've been tackling the problem of serving both the frontend (http) and the
admin (https) site of a Django application from a single instance of the
application.
I ran a successful test on webfaction serving the application with
nginx+gunicorn and having nginx take care of redirecing /admin urls
>
> What about 2 settings files, for the different instances? One for HTTP and
> one for HTTPS?
>
> You can partially override settings by doing something like this:
>
> from foo.settings.prod import *
> # Add local overrides here
>
> Regards,
> Nickolas
>
> On Monday,
ver (first time I've tried that) had me thinking I required the full
url for it to work properly. This is so much easier. Thanks for that.
Mark
On Wednesday, 8 August 2012 07:09:36 UTC-7, Nikolas Stevenson-Molnar wrote:
>
> You could use a schemeless URL for S
Like William, I'd have to say I've had pretty good luck with Webfaction.
You can do just about anything you want and the support is very good. They
have standard setup scripts for various types of apps, including Django,
but if you want to do something custom you have a lot of freedom. For
inst
with the URL for the CDN.
https://docs.djangoproject.com/en/dev/howto/static-files/
Cheers,
Mark.
--
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 fro
As alluded to previously, the most "straightforward way to use a set of
choices of which several can be chosen" IS to use a ManyToManyField. The
syntax is slightly different, but ManyToManyFields are really easy to use
with Django. Do not reinvent the wheel in this case.
Thanks,
Mark F
Good Morning Tabitha.
Actually, do you have a model for StaffForm? That is the object being
instantiated and then causing the error. If there is no nics group
reference field in the StaffForm object, it may raise this error. Also, do
you have this running in a view/template? Do you have a real pag
Does any one know of a professional forum package, commercial or open
source like vBulletin, phpBB or similar that easily integrates with
Django's authentication system?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
It means, don't use the "decorator" @login_required above your login view.
Your login view cannot require a login, because you'd never get to log in.
Chicken and egg.
On Tue, Jan 17, 2012 at 2:34 PM, coded kid wrote:
>
>
> Thorsten Sanders wrote:
> > With using
> >
> > @login_required decorator
Can someone explain how to link using url names to class-based views
that include parameters?
Example:
url(r'^video/(?P\d+)/$', VideoView.as_view()),
works but all my links have to manually have "/video/{{ video.id }}/"
or similar. I cannot get {% url videos %}{{ video.id }} to work with
the fol
201 - 300 of 583 matches
Mail list logo