Comments (2)
This is going pretty well - see https://github.com/SlashRoot/WHAT/blob/apps-refactor/deployment/setup_db.py.
The current problem is on the resolve_calls page:
FixedObject matching query does not exist. Lookup parameters were {'name': 'RoleInGroup__slashroot_holder'}
from what.
The actual problem here, arguably, is that the various 'slashroot people' concepts are in people.config.set_up instead of slashroot.config.set_up. To wit:
def set_up():
#User
HOLDER = Role.objects.get_or_create(name="Holder")[0]
SLASHROOT = Group.objects.get_or_create(name="slashRoot")[0]
SLASHROOT_HOLDER = RoleInGroup.objects.get_or_create(role=HOLDER, group=SLASHROOT)[0]
FixedObject.objects.create(name="Role__holder", object=HOLDER, )
FixedObject.objects.create(name="Group__slashRoot", object=SLASHROOT, )
FixedObject.objects.create(name="RoleInGroup__slashroot_holder", object=SLASHROOT_HOLDER, )
from what.
Related Issues (20)
- Adding apps to sys.path is clever and rude HOT 1
- Ask about user after inactivity
- Link buttons on TinyMCE don't work HOT 1
- Automated creation of private module
- Service Check-in : "Customer" box raises 500 when text is entered that does not auto complete. HOT 1
- Service Check-in : Remove tiny Green "Group" button HOT 4
- Plus Sign is missing from Service Checkin
- Make link from watch_calls to phone call resolve task
- Strange AttributeError HOT 1
- Do app not migrating HOT 4
- BudgetPerspective is having an existential crisis...
- Seperating theoretical from actual transactions.
- I am Bill's impertinent docstring...
- Should we seperate some things?
- Section 1 Elements HOT 1
- emergency service link HOT 1
- Add "resolve" button to calls on watch_calls page HOT 6
- Separate fluidBarter into its own project
- Deprecate generic FBVs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from what.